linux/drivers/net/wireless/hostap
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
..
hostap_80211_rx.c
hostap_80211_tx.c
hostap_80211.h
hostap_ap.c
hostap_ap.h
hostap_common.h
hostap_config.h
hostap_cs.c
hostap_download.c
hostap_hw.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
hostap_info.c
hostap_ioctl.c
hostap_main.c hostap: GFP_ATOMIC/GFP_KERNEL cleanup 2012-04-16 14:19:29 -04:00
hostap_pci.c net/wireless: use module_pci_driver 2012-04-16 14:38:50 -04:00
hostap_plx.c net/wireless: use module_pci_driver 2012-04-16 14:38:50 -04:00
hostap_proc.c wireless: Remove casts to same type 2012-06-06 09:31:33 -07:00
hostap_wlan.h
hostap.h
Kconfig
Makefile