diff options
author | Gustavo A. R. Silva <garsilva@embeddedor.com> | 2017-11-06 22:53:21 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2017-11-10 03:36:10 +0100 |
commit | 4775ae7afec62e6ae1bc1f99ab57db2a36b8807e (patch) | |
tree | b49c64721762bbcd11e71a4f6cd7d5447dbfc289 /drivers/net/wireless/rsi | |
parent | rt2x00: use monotonic timestamps for frame dump (diff) | |
download | linux-4775ae7afec62e6ae1bc1f99ab57db2a36b8807e.tar.xz linux-4775ae7afec62e6ae1bc1f99ab57db2a36b8807e.zip |
rsi: rsi_91x_ps: remove redundant code in str_psstate
"INVALID_STATE" is already being returned in the default case and this
code cannot be reached.
Addresses-Coverity-ID: 1398384
Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/rsi')
-rw-r--r-- | drivers/net/wireless/rsi/rsi_91x_ps.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/rsi/rsi_91x_ps.c b/drivers/net/wireless/rsi/rsi_91x_ps.c index 523f5329d2b7..01472fac8b9a 100644 --- a/drivers/net/wireless/rsi/rsi_91x_ps.c +++ b/drivers/net/wireless/rsi/rsi_91x_ps.c @@ -36,7 +36,6 @@ char *str_psstate(enum ps_state state) default: return "INVALID_STATE"; } - return "INVALID_STATE"; } static inline void rsi_modify_ps_state(struct rsi_hw *adapter, |