mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 00:00:00 -04:00
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>
This commit is contained in:
parent
f87eba996b
commit
4775ae7afe
1 changed files with 0 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue