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