diff options
| author | Tobin C. Harding <[email protected]> | 2017-04-10 13:15:39 +1000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-04-11 16:03:36 +0200 |
| commit | 5141e9c6346892d9705558ccf27489806c2bdddf (patch) | |
| tree | 269821b3bf882b0338486071c721fecc0530f008 /tools/perf/scripts/python/bin | |
| 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 <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions