linux/drivers/net/wireless/rtlwifi
Joe Perches 2c208890c6 wireless: 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

Neatened the mwifiex_deauthenticate_infra function which
was doing odd things with array pointers and not using
is_zero_ether_addr.

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
..
rtl8192c wireless: Remove casts to same type 2012-06-06 09:31:33 -07:00
rtl8192ce wireless: Remove casts to same type 2012-06-06 09:31:33 -07:00
rtl8192cu wireless: Remove casts to same type 2012-06-06 09:31:33 -07:00
rtl8192de wireless: Remove casts to same type 2012-06-06 09:31:33 -07:00
rtl8192se wireless: Remove casts to same type 2012-06-06 09:31:33 -07:00
base.c wireless: Remove casts to same type 2012-06-06 09:31:33 -07:00
base.h
cam.c wireless: Remove casts to same type 2012-06-06 09:31:33 -07:00
cam.h
core.c wireless: Remove casts to same type 2012-06-06 09:31:33 -07:00
core.h
debug.c
debug.h
efuse.c wireless: Remove casts to same type 2012-06-06 09:31:33 -07:00
efuse.h
Kconfig
Makefile
pci.c wireless: Remove casts to same type 2012-06-06 09:31:33 -07:00
pci.h
ps.c wireless: Remove casts to same type 2012-06-06 09:31:33 -07:00
ps.h
rc.c
rc.h
regd.c
regd.h
usb.c rtlwifi: fix for race condition when firmware is cached 2012-05-14 13:51:24 -04:00
usb.h
wifi.h