diff options
author | 2022-07-29 00:11:49 +0100 | |
---|---|---|
committer | 2022-07-29 09:33:16 +0200 | |
commit | f3a76018dd55d8ddcd28cb47049f46ae5c0ce557 (patch) | |
tree | 6d7baeb6590ea716c5e0135cf7ef67d4cfc5cb4f /scripts/generate_rust_analyzer.py | |
parent | staging: vt6655: Convert macro vt6655_mac_clear_stck_ds to function (diff) | |
download | wireguard-linux-f3a76018dd55d8ddcd28cb47049f46ae5c0ce557.tar.xz wireguard-linux-f3a76018dd55d8ddcd28cb47049f46ae5c0ce557.zip |
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 <dan.carpenter@oracle.com>
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Signed-off-by: Phillip Potter <phil@philpotter.co.uk>
Link: https://lore.kernel.org/r/20220728231150.972-2-phil@philpotter.co.uk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions