Tag: 4e2e865d959e095ab8f1a112e7952c9baa173d0a

qlcnic: 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: Shahed Shaikh Signed-off-by: David S. Miller — drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c | 2 +- 1 …

Continue reading