summaryrefslogtreecommitdiff
path: root/scripts/const_structs.checkpatch
diff options
context:
space:
mode:
authorTobin C. Harding <me@tobin.cc>2017-04-10 06:15:39 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-04-11 17:03:36 +0300
commit5141e9c6346892d9705558ccf27489806c2bdddf (patch)
tree269821b3bf882b0338486071c721fecc0530f008 /scripts/const_structs.checkpatch
parented246b9ecc9212aa899721af74d97bbbcdc84add (diff)
downloadlinux-5141e9c6346892d9705558ccf27489806c2bdddf.tar.xz
staging: ks7010: remove void * cast
Functions accept a parameter of type 'void *', this is then cast to a struct ks_wlan_private pointer. All call sites have a struct ks_wlan_private pointer and cast it to 'void *'. We can remove the unnecessary casting by changing the parameter type to match the usage. Functions changed all have internal linkage. Replace parameter of type 'void *' with 'struct ks_wlan_private *'. Remove unnecessary casting to and from 'void *'. Signed-off-by: Tobin C. Harding <me@tobin.cc> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions