OpenCloudOS-Kernel/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
..
Kconfig
Makefile
hostap.h
hostap_80211.h drivers/net: use __packed annotation 2010-06-03 03:18:23 -07:00
hostap_80211_rx.c drivers/net: Add export.h to files using EXPORT_SYMBOL/THIS_MODULE 2011-10-31 19:31:08 -04:00
hostap_80211_tx.c drivers/net: Add export.h to files using EXPORT_SYMBOL/THIS_MODULE 2011-10-31 19:31:08 -04:00
hostap_ap.c drivers/net: Add moduleparam.h to drivers as required. 2011-10-31 19:31:09 -04:00
hostap_ap.h Fix common misspellings 2011-03-31 11:26:23 -03:00
hostap_common.h drivers/net: use __packed annotation 2010-06-03 03:18:23 -07:00
hostap_config.h net: change to new flag variable 2011-03-17 14:05:35 +01:00
hostap_cs.c hostap_cs: add ID for Canon K30225 2011-11-28 14:44:00 -05:00
hostap_download.c drivers/net: remove useless semicolons 2010-05-17 22:47:34 -07:00
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 drivers/net: Add export.h to files using EXPORT_SYMBOL/THIS_MODULE 2011-10-31 19:31:08 -04:00
hostap_ioctl.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux 2011-11-22 14:05:46 -05:00
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 net: remove interrupt.h inclusion from netdevice.h 2011-06-06 22:55:11 -07:00