Searched hist:"8986992 d" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/wireless/ath/carl9170/ |
H A D | rx.c | 8986992d Mon Mar 24 15:15:38 CDT 2014 Joe Perches <joe@perches.com> carl9170: Remove casts of pointer to same type
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> 8986992d Mon Mar 24 15:15:38 CDT 2014 Joe Perches <joe@perches.com> carl9170: Remove casts of pointer to same type 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>
|