aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorTobin C. Harding <me@tobin.cc>2017-04-10 13:15:39 +1000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-04-11 16:03:36 +0200
commit5141e9c6346892d9705558ccf27489806c2bdddf (patch)
tree269821b3bf882b0338486071c721fecc0530f008 /tools/perf/scripts/python
parentstaging: ks7010: remove unnecessary function parameter (diff)
downloadlinux-5141e9c6346892d9705558ccf27489806c2bdddf.tar.gz
linux-5141e9c6346892d9705558ccf27489806c2bdddf.zip
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions