Tag: 41ced615e5782582789b6a0cbafe3a0603f9beb0

altera: 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 Acked-by: Vince Bridgers Signed-off-by: David S. Miller — drivers/net/ethernet/altera/altera_tse_main.c | 4 ++– 1 …

Continue reading