]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5dee395cc14973a2130a44adfc5dd6724879e6c8
tree90d770b8a8968a23961abee210b37228f35deff7
parent2b14da51f3cdc44af56c550f3fb30103b0535f95
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