mmc: android-goldfish: remove logically dead code in goldfish_mmc_irq()
authorGustavo A. R. Silva <garsilva@embeddedor.com>
Wed, 28 Jun 2017 13:55:15 +0000 (08:55 -0500)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 30 Aug 2017 12:01:23 +0000 (14:01 +0200)
commit0f77934ab8db9368e29f1cb050af25c244710471
tree90d770b8a8968a23961abee210b37228f35deff7
parent2feada5bb0441c918d12778bf9449d5ff805aa7c
mmc: android-goldfish: remove logically dead code in goldfish_mmc_irq()

Local variable transfer_error is assigned to a constant value and
it is never updated again.

Remove this variable and the dead code it guards.

Addresses-Coverity-ID: 1222110
Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/android-goldfish.c