]> git.baikalelectronics.ru Git - kernel.git/commit
wifi: rtl8xxxu: Simplify the error handling code
authorZheyu Ma <zheyuma97@gmail.com>
Thu, 18 Aug 2022 07:33:52 +0000 (15:33 +0800)
committerKalle Valo <kvalo@kernel.org>
Wed, 7 Sep 2022 08:00:56 +0000 (11:00 +0300)
commit546060e4b9a5151fe026bc7d1751cdd47cba2e94
tree3b182ae3e6e257c51211eb0b18481d316d9e8ca8
parentf52d5830fe8fe1a6790e51f5df0f11868be5272d
wifi: rtl8xxxu: Simplify the error handling code

Since the logic of the driver's error handling code has changed, the
previous dead store and checks are not needed.

Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Zheyu Ma <zheyuma97@gmail.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220818073352.3156288-1-zheyuma97@gmail.com
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c