WSL2-Linux-Kernel/drivers/net/irda
Joe Perches c2fd03a011 drivers: net: Remove casts to same type
Adding casts of objects to the same type is unnecessary
and confusing for a human reader.

For example, this cast:

        int y;
        int *p = (int *)&y;

I used the coccinelle script below to find and remove these
unnecessary casts.  I manually removed the conversions this
script produces of casts with __force, __iomem and __user.

@@
type T;
T *p;
@@

-       (T *)p
+       p

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-06-06 09:31:33 -07:00
..
Kconfig Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2012-05-22 19:22:50 -07:00
Makefile
act200l-sir.c
actisys-sir.c
ali-ircc.c drivers: net: Remove casts to same type 2012-06-06 09:31:33 -07:00
ali-ircc.h
au1k_ir.c drivers: net: Remove casts to same type 2012-06-06 09:31:33 -07:00
bfin_sir.c
bfin_sir.h
donauboe.c donauboe: replace excessive udelay with msleep 2012-04-21 15:28:47 -04:00
donauboe.h
ep7211-sir.c
esi-sir.c
girbil-sir.c
irda-usb.c USB: irda-usb.c: remove err() usage 2012-04-25 14:48:49 -07:00
irda-usb.h
irtty-sir.c
irtty-sir.h
kingsun-sir.c USB: kingsun-sir.c: remove err() usage 2012-04-25 14:48:50 -07:00
ks959-sir.c USB: ks959-sir.c: remove err() usage 2012-04-25 14:48:50 -07:00
ksdazzle-sir.c USB: ksdazzle-sir.c: remove err() usage 2012-04-25 14:48:51 -07:00
litelink-sir.c
ma600-sir.c
mcp2120-sir.c
mcs7780.c
mcs7780.h
nsc-ircc.c
nsc-ircc.h
old_belkin-sir.c
pxaficp_ir.c
sa1100_ir.c ARM: sa11x0: fix build errors from DMA engine API updates 2012-03-30 11:46:20 +01:00
sh_irda.c net: Fix spelling typo in net 2012-04-14 15:29:02 -04:00
sh_sir.c net: Fix spelling typo in net 2012-04-14 15:29:02 -04:00
sir-dev.h
sir_dev.c
sir_dongle.c
smsc-ircc2.c NET: smsc-ircc2: mark non-experimental 2012-04-27 00:03:35 -04:00
smsc-ircc2.h
smsc-sio.h
stir4200.c USB: stir4200.c: remove err() usage 2012-04-25 14:48:51 -07:00
tekram-sir.c
toim3232-sir.c
via-ircc.c
via-ircc.h
vlsi_ir.c
vlsi_ir.h
w83977af.h
w83977af_ir.c
w83977af_ir.h