mmc: sdhci: Drop redundant check in sdhci_ack_sdio_irq()
authorUlf Hansson <ulf.hansson@linaro.org>
Sun, 8 Sep 2019 10:12:34 +0000 (12:12 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 11 Sep 2019 14:10:19 +0000 (16:10 +0200)
commita84ad3242e53658c25bef0bc5b82e44e040390ba
treef7f09ca18fc4bce008247f455b0aeab79e579b00
parent51133850bce2a9e5060c6931ee58ceb685578dbf
mmc: sdhci: Drop redundant check in sdhci_ack_sdio_irq()

The sdhci_ack_sdio_irq() is called only when SDIO IRQs are enabled.
Therefore, let's drop the redundant check of the internal
SDHCI_SDIO_IRQ_ENABLED flag and just re-enable the IRQs immediately.

Reviewed-by: Matthias Kaehlcke <mka@chromium.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci.c