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>
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| zd_chip.c | ||
| zd_chip.h | ||
| zd_def.h | ||
| zd_mac.c | ||
| zd_mac.h | ||
| zd_rf.c | ||
| zd_rf.h | ||
| zd_rf_al2230.c | ||
| zd_rf_al7230b.c | ||
| zd_rf_rf2959.c | ||
| zd_rf_uw2453.c | ||
| zd_usb.c | ||
| zd_usb.h | ||