Casting a pointer to a pointer of the same type is pointless, so remove these unnecessary casts. Done via coccinelle script: $ cat typecast_2.cocci @@ type T; T *foo; @@ - (T *)foo + foo Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: John W. Linville <linville@tuxdriver.com> |
||
|---|---|---|
| .. | ||
| carl9170.h | ||
| cmd.c | ||
| cmd.h | ||
| debug.c | ||
| debug.h | ||
| eeprom.h | ||
| fw.c | ||
| fwcmd.h | ||
| fwdesc.h | ||
| hw.h | ||
| Kconfig | ||
| led.c | ||
| mac.c | ||
| main.c | ||
| Makefile | ||
| phy.c | ||
| phy.h | ||
| rx.c | ||
| tx.c | ||
| usb.c | ||
| version.h | ||
| wlan.h | ||