diff options
author | Tobin C. Harding <me@tobin.cc> | 2017-04-10 13:15:39 +1000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-04-11 16:03:36 +0200 |
commit | 5141e9c6346892d9705558ccf27489806c2bdddf (patch) | |
tree | 269821b3bf882b0338486071c721fecc0530f008 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ed246b9ecc9212aa899721af74d97bbbcdc84add (diff) |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions