linux_dsm_epyc7002/drivers/net/irda
Peter Senna Tschudin c65a9656f1 via-ircc: Remove useless return variables
This patch remove variables that are initialized with a constant,
are never updated, and are only used as parameter of return.
Return the constant instead of using a variable.

Verified by compilation only.

The coccinelle script that find and fixes this issue is:
// <smpl>
@@
type T;
constant C;
identifier ret;
@@
- T ret = C;
... when != ret
    when strict
return
- ret
+ C
;
// </smpl>

Signed-off-by: Peter Senna Tschudin <peter.senna@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-06-02 17:04:05 -07:00
..
act200l-sir.c
actisys-sir.c
ali-ircc.c treewide: Fix common typo in "identify" 2013-10-14 15:31:06 +02:00
ali-ircc.h
au1k_ir.c drivers/net: delete non-required instances of include <linux/init.h> 2014-01-16 11:53:26 -08:00
bfin_sir.c irda: remove deprecated IRQF_DISABLED 2013-10-07 15:53:52 -04:00
bfin_sir.h
donauboe.c irda: remove deprecated IRQF_DISABLED 2013-10-07 15:53:52 -04:00
donauboe.h
esi-sir.c irda: Fix FSF address in file headers 2013-12-06 12:37:55 -05:00
girbil-sir.c
irda-usb.c drivers/net: delete non-required instances of include <linux/init.h> 2014-01-16 11:53:26 -08:00
irda-usb.h
irtty-sir.c irtty-sir.c: Do not set_termios() on irtty_close() 2014-02-17 16:27:51 -05:00
irtty-sir.h
Kconfig irda: sh_irda: Enable driver compilation with COMPILE_TEST 2014-05-14 15:23:55 -04:00
kingsun-sir.c drivers/net: delete non-required instances of include <linux/init.h> 2014-01-16 11:53:26 -08:00
ks959-sir.c drivers/net: delete non-required instances of include <linux/init.h> 2014-01-16 11:53:26 -08:00
ksdazzle-sir.c drivers/net: delete non-required instances of include <linux/init.h> 2014-01-16 11:53:26 -08:00
litelink-sir.c irda: Fix FSF address in file headers 2013-12-06 12:37:55 -05:00
ma600-sir.c irda: Fix FSF address in file headers 2013-12-06 12:37:55 -05:00
Makefile net: irda: ep7211-sir: Remove driver 2014-02-06 19:54:48 -08:00
mcp2120-sir.c
mcs7780.c drivers/net: delete non-required instances of include <linux/init.h> 2014-01-16 11:53:26 -08:00
mcs7780.h
nsc-ircc.c treewide: Fix common typo in "identify" 2013-10-14 15:31:06 +02:00
nsc-ircc.h
old_belkin-sir.c irda: Fix FSF address in file headers 2013-12-06 12:37:55 -05:00
pxaficp_ir.c net: irda: pxaficp_ir: use platform_set_drvdata() 2013-08-21 20:51:10 -07:00
sa1100_ir.c drivers/net/irda/sa1100_ir.c: fix error return code 2012-10-07 14:37:11 -04:00
sh_irda.c irda: sh_irda: use devm_request_irq() 2014-01-09 22:57:13 -05:00
sh_sir.c irda: sh_sir: use devm_request_irq() 2014-01-09 22:57:13 -05:00
sir_dev.c irda: sir_dev: Fix copy/paste typo 2012-11-20 15:51:55 -05:00
sir_dongle.c drivers/net: delete non-required instances of include <linux/init.h> 2014-01-16 11:53:26 -08:00
sir-dev.h irda: Remove extern from function prototypes 2013-09-24 12:54:17 -07:00
smsc-ircc2.c irda: Fix FSF address in file headers 2013-12-06 12:37:55 -05:00
smsc-ircc2.h irda: Fix FSF address in file headers 2013-12-06 12:37:55 -05:00
smsc-sio.h
stir4200.c drivers/net: delete non-required instances of include <linux/init.h> 2014-01-16 11:53:26 -08:00
tekram-sir.c
toim3232-sir.c
via-ircc.c via-ircc: Remove useless return variables 2014-06-02 17:04:05 -07:00
via-ircc.h irda: Fix FSF address in file headers 2013-12-06 12:37:55 -05:00
vlsi_ir.c irda: vlsi_ir: remove unnecessary pci_set_drvdata() 2013-12-09 18:09:28 -05:00
vlsi_ir.h irda: Fix FSF address in file headers 2013-12-06 12:37:55 -05:00
w83977af_ir.c w83977af_ir: remove two faux Kconfig macros 2014-05-07 15:24:07 -04:00
w83977af_ir.h
w83977af.h