From: Joe Perches Date: Tue, 25 Mar 2014 04:30:38 +0000 (+0000) Subject: i40e: Remove casts of pointer to same type X-Git-Tag: v3.15-rc1~113^2~16^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3dbb7fd24794e39e503bc7844dae03c17d821326;p=pandora-kernel.git i40e: 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 Tested-by: Kavindya Deegala Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed