From: Joe Perches Date: Mon, 24 Mar 2014 20:15:37 +0000 (-0700) Subject: qlcnic: Remove casts of pointer to same type X-Git-Tag: v3.15-rc1~113^2~81 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e2e865d959e095ab8f1a112e7952c9baa173d0a;p=pandora-kernel.git qlcnic: 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 Acked-by: Shahed Shaikh Signed-off-by: David S. Miller --- Reading git-diff-tree failed