aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rsi/rsi_91x_usb.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavo@embeddedor.com>2018-04-26 08:01:38 -0500
committerKalle Valo <kvalo@codeaurora.org>2018-04-30 13:32:51 +0300
commite1fd7ceec194225a822760a40dfa73efdd59881b (patch)
tree9e0863ee82caf7fda52cc8571f7cc75490179371 /drivers/net/wireless/rsi/rsi_91x_usb.c
parentwlcore: sdio: allow pm to handle sdio power (diff)
downloadlinux-dev-e1fd7ceec194225a822760a40dfa73efdd59881b.tar.xz
linux-dev-e1fd7ceec194225a822760a40dfa73efdd59881b.zip
rsi_91x: fix structurally dead code
Function rsi_hal_key_config returns before reaching code at line 922 if (status), hence this code is structurally dead. Fix this by storing the value returned by rsi_hal_load_key into _status_ for its further evaluation and use. Addresses-Coverity-ID: 1468409 ("Structurally dead code") Fixes: 4fd6c4762f37 ("rsi: roaming enhancements") Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/rsi/rsi_91x_usb.c')
0 files changed, 0 insertions, 0 deletions