mmc: mmci: Remove redundant check of status for DATA irq
authorUlf Hansson <ulf.hansson@linaro.org>
Thu, 12 Jun 2014 12:42:23 +0000 (14:42 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 11 Aug 2014 08:16:16 +0000 (10:16 +0200)
commit1cb9da502835dad73dda772b20c1e792f4e71589
tree58d8d4272975cf1e5dffcef16140bd33435216e6
parent3a33a94ce27068c8fef63a4f9ab7cff1210e2a4e
mmc: mmci: Remove redundant check of status for DATA irq

We don't need to verify the content of the status register twice, while
we are about to handle a DATA irq. Instead let's leave all verification
to be handled by mmci_data_irq().

Cc: Peter Maydell <peter.maydell@linaro.org>
Cc: John Stultz <john.stultz@linaro.org>
Cc: Russell King <linux@arm.linux.org.uk>
Tested-by: Kees Cook <keescook@chromium.org>
Tested-by: John Stultz <john.stultz@linaro.org>
Cc: <stable@vger.kernel.org> # v3.15+
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/mmci.c