diff options
| author | Michael Straube <[email protected]> | 2022-03-29 12:37:54 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-04-04 07:33:47 +0200 |
| commit | 0166ffdc89bf4d5f50852eb4bc86bbd18cffd4f9 (patch) | |
| tree | 1cdb2c9987e8d58d4333254149e8b7e0a4f6ec49 /tools/perf/scripts/python/netdev-times.py | |
| parent | b5ea08d84f2d3a37835688ca713bfa460891c168 (diff) | |
staging: r8188eu: refactor rtw_inc_and_chk_continual_urb_error()
Refactor rtw_inc_and_chk_continual_urb_error(). Return directly
instead of using a return variable and initialize the variable 'value'
at declaration. This shortens the code and improves readability.
Signed-off-by: Michael Straube <[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