OpenCloudOS-Kernel/drivers/net/wireless/p54
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 p54spi: Update kconfig help text 2011-03-07 13:51:04 -05:00
Makefile
eeprom.c wireless: Remove casts to same type 2012-06-06 09:31:33 -07:00
eeprom.h p54: enhance rssi->dBm database import 2011-02-14 15:52:10 -05:00
fwio.c wireless: Remove casts to same type 2012-06-06 09:31:33 -07:00
led.c drivers/net/wireless: Restore upper case words in wiphy_<level> messages 2010-08-18 16:37:44 -04:00
lmac.h p54: implement multicast filter 2011-04-26 15:50:30 -04:00
main.c p54: only unregister ieee80211_hw when it has been registered 2012-04-09 16:07:35 -04:00
net2280.h
p54.h p54: only unregister ieee80211_hw when it has been registered 2012-04-09 16:07:35 -04:00
p54pci.c net/wireless: use module_pci_driver 2012-04-16 14:38:50 -04:00
p54pci.h net: remove interrupt.h inclusion from netdevice.h 2011-06-06 22:55:11 -07:00
p54spi.c p54spi: Release GPIO lines and IRQ on error in p54spi_probe 2012-03-05 15:23:17 -05:00
p54spi.h
p54spi_eeprom.h p54spi: update sample eeprom 2011-02-14 15:52:10 -05:00
p54usb.c USB 3.5-rc1 pull request 2012-05-22 15:50:46 -07:00
p54usb.h p54usb: Load firmware asynchronously 2012-04-09 16:07:35 -04:00
txrx.c drivers/net: Convert compare_ether_addr to ether_addr_equal 2012-05-10 23:33:01 -04:00