OpenCloudOS-Kernel/drivers/net/wireless/zd1211rw
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
..
Kconfig
Makefile net: change to new flag variable 2011-03-17 14:05:35 +01:00
zd_chip.c zd1211rw: rename CR* macros to ZD_CR* 2011-04-07 15:34:13 -04:00
zd_chip.h wireless: Remove casts to same type 2012-06-06 09:31:33 -07:00
zd_def.h zd1211rw: fix invalid signal values from device 2011-06-22 16:09:45 -04:00
zd_mac.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2012-03-20 21:12:50 -07:00
zd_mac.h zd1211rw: only update HW beacon if new beacon differs from currect 2011-06-22 16:09:46 -04:00
zd_rf.c
zd_rf.h zd1211rw: rename CR* macros to ZD_CR* 2011-04-07 15:34:13 -04:00
zd_rf_al2230.c zd1211rw: rename CR* macros to ZD_CR* 2011-04-07 15:34:13 -04:00
zd_rf_al7230b.c zd1211rw: rename CR* macros to ZD_CR* 2011-04-07 15:34:13 -04:00
zd_rf_rf2959.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem 2011-04-12 16:18:44 -04:00
zd_rf_uw2453.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem 2011-04-12 16:18:44 -04:00
zd_usb.c USB: Disable hub-initiated LPM for comms devices. 2012-05-18 15:42:55 -07:00
zd_usb.h wireless: Remove casts to same type 2012-06-06 09:31:33 -07:00