mmc: core: Remove redundant check of max_dtr while selecting timings
authorUlf Hansson <ulf.hansson@linaro.org>
Mon, 20 Oct 2014 09:49:21 +0000 (11:49 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 10 Nov 2014 11:40:41 +0000 (12:40 +0100)
commit9e304d67ad4768585e4c7002341aac81272799ec
tree41a222ca7129ca251bf2b8bbae82c925b4351a10
parent56d09b1da7dbe18bdb4e4a74df4a00ab95e6aecd
mmc: core: Remove redundant check of max_dtr while selecting timings

If the MMC spec version is < CSD_SPEC_VER_4, there aren't support for
the EXT_CSD register. Since max_dtr is fetched from there, it will
default to zero, which thus isn't needed to verify.

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