diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-06-25 14:59:16 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-25 16:25:06 -0700 |
commit | 995c6ed2b1bb309eb45c3006779dc90fb3f4150d (patch) | |
tree | 8f49632617f400dcba40e55d9d92a291c0743a87 /drivers/char/ip2main.c | |
parent | 0933ad9c233b09ee5fd636525ed07c149c879980 (diff) | |
download | op-kernel-dev-995c6ed2b1bb309eb45c3006779dc90fb3f4150d.zip op-kernel-dev-995c6ed2b1bb309eb45c3006779dc90fb3f4150d.tar.gz |
[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>
Diffstat (limited to 'drivers/char/ip2main.c')
-rw-r--r-- | drivers/char/ip2main.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/char/ip2main.c b/drivers/char/ip2main.c index 3b8314b..cf0cd58 100644 --- a/drivers/char/ip2main.c +++ b/drivers/char/ip2main.c @@ -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 ); } |