diff options
| author | Nishka Dasgupta <[email protected]> | 2019-07-12 11:58:06 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2019-07-22 07:34:12 +0200 |
| commit | 28c03f82607730901830170259a4a17b33d5152e (patch) | |
| tree | c24dfa90b6e682ae1c6a220374b6adb9bcc7db9e /tools/perf/scripts/python/netdev-times.py | |
| parent | 53055d6a915cb1753334dc18d6249f8b4ac62d88 (diff) | |
staging: wlan-ng: Replace function hfa384x_dormem()
Remove parameters mode, cmdcb, usercb, and usercb_data from
hfa384x_dormem as these parameters are only assigned the same constant
values (DOWAIT, NULL, NULL, NULL respectively).
Modify hfa384x_dormem to use these constants directly. Remove check for
value of mode (as it will always be DOWAIT).
Remove function hfa384x_dormem_wait as it does nothing except call
hfa384x_dormem with these extra arguments.
Modify call sites of hfa384x_dormem_wait to call hfa384x_dormem instead.
Issue found with Coccinelle.
Signed-off-by: Nishka Dasgupta <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions