linux/drivers/net/wireless/libertas_tf
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
..
cmd.c drivers/net: Add export.h to files using EXPORT_SYMBOL/THIS_MODULE 2011-10-31 19:31:08 -04:00
deb_defs.h libertas_tf: deb_defs.h: Fix typo in include guard 2011-09-15 14:34:14 +02:00
if_usb.c wireless: Remove casts to same type 2012-06-06 09:31:33 -07:00
if_usb.h
libertas_tf.h libertas_tf: add get_survey callback in order to get channel noise 2010-07-29 12:46:48 -04:00
main.c net: fix assignment of 0/1 to bool variables. 2011-12-19 22:27:29 -05:00
Makefile