Tag: 60f40107ab7d722810fd8aa3f52590752a0a3acf

alx: Remove casts of pointer to same type

Author: Joe Perches <joe@perches.com> 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 Signed-off-by: David S. Miller — drivers/net/ethernet/atheros/alx/main.c | 2 +- 1 file changed, 1 …

Continue reading