diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2016-01-08 12:04:04 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-01-08 19:25:33 +0100 |
commit | 6757e6f5f44de32bc8cd0bb2dc800580380792db (patch) | |
tree | 474a2fa0009520ad4405322495a8932dee0d1838 /drivers/net/irda | |
parent | isdn: act200: fix MODULE_PARM_DESC() typo (diff) | |
download | linux-6757e6f5f44de32bc8cd0bb2dc800580380792db.tar.xz linux-6757e6f5f44de32bc8cd0bb2dc800580380792db.zip |
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>
Diffstat (limited to 'drivers/net/irda')
-rw-r--r-- | drivers/net/irda/toim3232-sir.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/net/irda/toim3232-sir.c b/drivers/net/irda/toim3232-sir.c index 6d2f55959c49..b977d6d33e74 100644 --- a/drivers/net/irda/toim3232-sir.c +++ b/drivers/net/irda/toim3232-sir.c @@ -130,16 +130,6 @@ static int toim3232delay = 150; /* default is 150 ms */ module_param(toim3232delay, int, 0); MODULE_PARM_DESC(toim3232delay, "toim3232 dongle write complete delay"); -#if 0 -static int toim3232flipdtr = 0; /* default is DTR high to reset */ -module_param(toim3232flipdtr, int, 0); -MODULE_PARM_DESC(toim3232flipdtr, "toim3232 dongle invert DTR (Reset)"); - -static int toim3232fliprts = 0; /* default is RTS high for baud change */ -module_param(toim3232fliptrs, int, 0); -MODULE_PARM_DESC(toim3232fliprts, "toim3232 dongle invert RTS (BR/D)"); -#endif - static int toim3232_open(struct sir_dev *); static int toim3232_close(struct sir_dev *); static int toim3232_change_speed(struct sir_dev *, unsigned); |