From: Joe Perches Date: Mon, 24 Mar 2014 20:15:40 +0000 (-0700) Subject: rtlwifi: Remove casts of pointer to same type X-Git-Tag: v3.15-rc1~113^2~18^2^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1851cb4a0f08ba0600103203c4b52e53c744f59c;p=pandora-kernel.git rtlwifi: Remove casts of pointer to same type Casting a pointer to a pointer of the same type is pointless, so remove these unnecessary casts. Around these changes: o Remove unnecessary parentheses o Use consistent dereference style (change ptr[0] to *ptr) o Argument alignment Done via coccinelle script: (and some typing) $ cat typecast_2.cocci @@ type T; T *foo; @@ - (T *)foo + foo Signed-off-by: Joe Perches Signed-off-by: John W. Linville --- Reading git-diff-tree failed