diff options
author | Phillip Potter <[email protected]> | 2022-07-29 00:11:49 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2022-07-29 09:33:16 +0200 |
commit | f3a76018dd55d8ddcd28cb47049f46ae5c0ce557 (patch) | |
tree | 6d7baeb6590ea716c5e0135cf7ef67d4cfc5cb4f /tools/perf/scripts/python/task-analyzer.py | |
parent | c528bbb7dc062c707f6064eec1bccafb8490758f (diff) |
staging: r8188eu: remove initializer from ret in rtw_pwr_wakeup
Remove the success initializer from the ret variable in rtw_pwr_wakeup,
as we set it later anyway in the success path, and also set on failure.
This makes the function appear cleaner and more consistent.
Suggested-by: Dan Carpenter <[email protected]>
Tested-by: Philipp Hortmann <[email protected]>
Signed-off-by: Phillip Potter <[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/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions