[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:
Adrian Bunk
2005-06-25 14:59:16 -07:00
committed by Linus Torvalds
parent 0933ad9c23
commit 995c6ed2b1
3 changed files with 6 additions and 22 deletions

View File

@ -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 );
}