linux/drivers/staging/r8188eu
Phillip Potter f3a76018dd 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>
2022-07-29 09:33:16 +02:00
..
core staging: r8188eu: remove initializer from ret in rtw_pwr_wakeup 2022-07-29 09:33:16 +02:00
hal staging: r8188eu: make dump_chip_info() static 2022-07-27 08:45:22 +02:00
include staging: r8188eu: make dump_chip_info() static 2022-07-27 08:45:22 +02:00
os_dep staging: r8188eu: convert rtw_pwr_wakeup to correct error code semantics 2022-07-27 08:45:32 +02:00
Kconfig staging: r8188eu: Remove conditionals CONFIG_88EU_{AP_MODE,P2P} 2021-09-13 08:49:54 +02:00
Makefile staging: r8188eu: make power sequences static 2022-06-27 13:51:08 +02:00
TODO