Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

irda: toim3232-sir: delete some dead code

I noticed this code because it has a typo in the module_param(),
the "trs" at the end of "toim3232fliptrs" should be "rts". But it's
dead code so instead of fixing it, I just deleted it.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Dan Carpenter and committed by
David S. Miller
6757e6f5 85f37d17

-10
-10
drivers/net/irda/toim3232-sir.c
··· 130 130 module_param(toim3232delay, int, 0); 131 131 MODULE_PARM_DESC(toim3232delay, "toim3232 dongle write complete delay"); 132 132 133 - #if 0 134 - static int toim3232flipdtr = 0; /* default is DTR high to reset */ 135 - module_param(toim3232flipdtr, int, 0); 136 - MODULE_PARM_DESC(toim3232flipdtr, "toim3232 dongle invert DTR (Reset)"); 137 - 138 - static int toim3232fliprts = 0; /* default is RTS high for baud change */ 139 - module_param(toim3232fliptrs, int, 0); 140 - MODULE_PARM_DESC(toim3232fliprts, "toim3232 dongle invert RTS (BR/D)"); 141 - #endif 142 - 143 133 static int toim3232_open(struct sir_dev *); 144 134 static int toim3232_close(struct sir_dev *); 145 135 static int toim3232_change_speed(struct sir_dev *, unsigned);