mmc: core: Remove redundant check while selecting powerclass
authorUlf Hansson <ulf.hansson@linaro.org>
Mon, 20 Oct 2014 09:18:41 +0000 (11:18 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 10 Nov 2014 11:40:40 +0000 (12:40 +0100)
commit56d09b1da7dbe18bdb4e4a74df4a00ab95e6aecd
tree46eff07eda7873f21dd5d0db47eb9218e8550ed5
parentfd372f7d7f6c579379bd7d14e4924eba39a5b2dd
mmc: core: Remove redundant check while selecting powerclass

The validation of the buswidth and the MMC spec version in
__mmc_select_powerclass() is redundant, let's remove it.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/mmc.c