mirror of https://gitee.com/openkylin/linux.git
41ced615e5
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> Acked-by: Vince Bridgers <vbridgers2013@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
altera_msgdma.c | ||
altera_msgdma.h | ||
altera_msgdmahw.h | ||
altera_sgdma.c | ||
altera_sgdma.h | ||
altera_sgdmahw.h | ||
altera_tse.h | ||
altera_tse_ethtool.c | ||
altera_tse_main.c | ||
altera_utils.c | ||
altera_utils.h |