summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/if_cs.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2014-03-24 13:15:40 -0700
committerJohn W. Linville <linville@tuxdriver.com>2014-03-27 14:20:05 -0400
commit1851cb4a0f08ba0600103203c4b52e53c744f59c (patch)
tree307ef25b2e01f757db84972c3c0bcd608dccbea1 /drivers/net/wireless/libertas/if_cs.c
parent45d18c562adefe9d807c0ba833affdeff68bad98 (diff)
downloadblackbird-op-linux-1851cb4a0f08ba0600103203c4b52e53c744f59c.tar.gz
blackbird-op-linux-1851cb4a0f08ba0600103203c4b52e53c744f59c.zip
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 <joe@perches.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/if_cs.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud