aboutsummaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2019-05-31 12:32:23 +0100
committerUlf Hansson <ulf.hansson@linaro.org>2019-06-10 17:11:09 +0200
commit90298dc353bc1327d59da30d4b1e4d50d5513033 (patch)
tree29cb8f5683482fd2c44b00c64ba4c437749db0ef /mm
parentca4570a4c2d3be309ff4b8976efa7c8291ca6b6d (diff)
mmc: sdhci-pci: remove redundant check of slots == 0
The calculation of slots results in a value in the range 1..8 and so slots can never be zero. The check for slots == 0 is always going to be false, hence it is redundant and can be removed. Addresses-Coverity: ("Logically dead code") Signed-off-by: Colin Ian King <colin.king@canonical.com> Acked-by: Adrian Hunter <adrian.hunter@intel.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions