Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4775ae7a authored by Gustavo A. R. Silva's avatar Gustavo A. R. Silva Committed by Kalle Valo
Browse files

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: default avatarGustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent f87eba99
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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,