linux/drivers/net/wireless/rtlwifi/rtl8192de
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
..
def.h rtl8192de: Clean up and fix 92D cut version constants and macros. 2012-04-12 15:06:06 -04:00
dm.c wireless: Remove casts to same type 2012-06-06 09:31:33 -07:00
dm.h rtlwifi: rtl8192de: Convert driver to use private dm structs 2012-04-23 15:35:33 -04:00
fw.c wireless: Remove casts to same type 2012-06-06 09:31:33 -07:00
fw.h rtl8192de: Update copyright dates 2012-01-24 14:08:38 -05:00
hw.c wireless: Remove casts to same type 2012-06-06 09:31:33 -07:00
hw.h rtl8192de: Update copyright dates 2012-01-24 14:08:38 -05:00
led.c rtl8192de: Update copyright dates 2012-01-24 14:08:38 -05:00
led.h rtl8192de: Update copyright dates 2012-01-24 14:08:38 -05:00
Makefile rtlwifi: rtl8192de: Modify Kconfig and Makefile routines for new driver 2011-06-27 15:09:38 -04:00
phy.c rtlwifi: rtl8192de: Convert driver to use private dm structs 2012-04-23 15:35:33 -04:00
phy.h rtl8192de: Update copyright dates 2012-01-24 14:08:38 -05:00
reg.h rtlwifi: Remove unused ETH_ADDR_LEN defines 2012-03-19 16:53:09 -04:00
rf.c drivers/net: Remove boolean comparisons to true/false 2012-02-13 00:47:40 -05:00
rf.h rtl8192de: Update copyright dates 2012-01-24 14:08:38 -05:00
sw.c rtlwifi: rtl8192de: Fix firmware initialization 2012-04-09 15:54:47 -04:00
sw.h rtl8192de: Update copyright dates 2012-01-24 14:08:38 -05:00
table.c rtl8192de: Update copyright dates 2012-01-24 14:08:38 -05:00
table.h rtl8192de: Update copyright dates 2012-01-24 14:08:38 -05:00
trx.c wireless: Remove casts to same type 2012-06-06 09:31:33 -07:00
trx.h wireless: Remove unnecessary ; from while (0) macros 2012-04-11 16:23:56 -04:00