1
0
Fork 0
alistair23-linux/drivers/net/hamradio
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
..
6pack.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
Kconfig Update broken web addresses in the kernel. 2010-10-18 11:03:14 +02:00
Makefile Fix common misspellings 2011-03-31 11:26:23 -03:00
baycom_epp.c hamradio: fix incompatible pointer in module parameter 2012-02-01 14:40:01 -05:00
baycom_par.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
baycom_ser_fdx.c net: remove interrupt.h inclusion from netdevice.h 2011-06-06 22:55:11 -07:00
baycom_ser_hdx.c net: remove interrupt.h inclusion from netdevice.h 2011-06-06 22:55:11 -07:00
bpqether.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
dmascc.c atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
hdlcdrv.c hdlcdrv: Drop __TIME__ usage 2011-05-25 17:21:33 +02:00
mkiss.c drivers: net: Remove casts to same type 2012-06-06 09:31:33 -07:00
scc.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
yam.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
z8530.h