soc: qcom: apr: fix invalid msg_type check
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Thu, 17 May 2018 16:03:53 +0000 (17:03 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 17 May 2018 17:11:23 +0000 (18:11 +0100)
commite744619d056e6ec5cd9db38e55511a22dc463f89
tree24eeea45bef61c80ef0043d650c2bd38a7ff7d63
parent81dd1c5dcf510a2104b3468e9c4884f85ef1f644
soc: qcom: apr: fix invalid msg_type check

Removed invalid msg_type check.
This also fixes below static checker warning:
apr.c:95:35: warning: comparison is always true due to limited range of
 data type [-Wtype-limits]
warn: always true condition '(msg_type != 69864) => (0-u16max != 69864)'

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/soc/qcom/apr.c