[PATCH] drivers/char/ip2*: cleanups
This patch contains the following cleanups: - i2cmd.c: #if 0 the unused function i2cmdUnixFlags - i2cmd.c: make the needlessly global funciton i2cmdBaudDef static - ip2main.c: remove dead code that wasn't reachable due to an #ifdef Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
0933ad9c23
commit
995c6ed2b1
@ -2691,16 +2691,6 @@ no_xon:
|
||||
pCh->flags |= ASYNC_CHECK_CD;
|
||||
}
|
||||
|
||||
#ifdef XXX
|
||||
do_flags_thing: // This is a test, we don't do the flags thing
|
||||
|
||||
if ( (cflag & CRTSCTS) ) {
|
||||
cflag |= 014000000000;
|
||||
}
|
||||
i2QueueCommands(PTYPE_BYPASS, pCh, 100, 1,
|
||||
CMD_UNIX_FLAGS(iflag,cflag,lflag));
|
||||
#endif
|
||||
|
||||
service_it:
|
||||
i2DrainOutput( pCh, 100 );
|
||||
}
|
||||
|
Reference in New Issue
Block a user