commit | 90298dc353bc1327d59da30d4b1e4d50d5513033 | [log] [tgz] |
---|---|---|
author | Colin Ian King <colin.king@canonical.com> | Fri May 31 12:32:23 2019 +0100 |
committer | Ulf Hansson <ulf.hansson@linaro.org> | Mon Jun 10 17:11:09 2019 +0200 |
tree | 29cb8f5683482fd2c44b00c64ba4c437749db0ef | |
parent | ca4570a4c2d3be309ff4b8976efa7c8291ca6b6d [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>