diff options
| author | Nishka Dasgupta <[email protected]> | 2019-07-12 11:58:07 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2019-07-22 07:34:12 +0200 |
| commit | 68336404aa5123401133c9433a8c91e4b96322e6 (patch) | |
| tree | 9b3bc9148555456b06f75b533d624b3832a6ccf0 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 28c03f82607730901830170259a4a17b33d5152e (diff) | |
staging: wlan-ng: Replace function hfa384x_dowmem()
Remove parameters mode, cmdcb, usercb, and usercb_data from
hfa384x_dowmem as these parameters are only assigned the same constant
values (DOWAIT, NULL, NULL, NULL respectively).
Modify hfa384x_dowmem to use these constants directly. Remove check for
value of mode (as it will always be DOWAIT).
Remove function hfa384x_dowmem_wait as it does nothing except call
hfa384x_dowmem with these extra arguments.
Modify call sites of hfa384x_dowmem_wait to call hfa384x_dowmem 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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions