slimbus: ngd: remove unnecessary check
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Tue, 16 Oct 2018 09:57:48 +0000 (10:57 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 7 Nov 2018 13:59:28 +0000 (14:59 +0100)
commit943126417891372d56aa3fe46295cbf53db31370
tree8f68fb70bd3ce12ed06073afd16769af64f43e9e
parent651022382c7f8da46cb4872a545ee1da6d097d2a
slimbus: ngd: remove unnecessary check

SLIM_MSG_CLK_PAUSE_SEQ_FLG is never set in any of the slim core,
so performing a check in ngd driver is totally unnecessary.

Also this patch fixes warning about mc field overflow reported
with CoverityScan.

Making clk pause feature optional will be added to slim core in
next development cycle.

Reported-by: Colin Ian King <colin.king@canonical.com>
Fixes: 917809e2280b ("slimbus: ngd: Add qcom SLIMBus NGD driver")
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/slimbus/qcom-ngd-ctrl.c
drivers/slimbus/slimbus.h