mmc: sdhci: Remove redundant condition
authorAdrian Hunter <adrian.hunter@intel.com>
Tue, 12 Apr 2016 11:25:07 +0000 (14:25 +0300)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 2 May 2016 08:33:28 +0000 (10:33 +0200)
commitd310ae4936ccf1186851692c511483c794dd7701
tree6a6314a26e8e910d247ca9a4d7c680c3063107f2
parent706e86e9de7cfd5220784f6329d92f65de883d71
mmc: sdhci: Remove redundant condition

The logic '!mmc.f_max || (mmc.f_max && mmc.f_max > max_clk)'
is equivalent to '!mmc.f_max || mmc.f_max > max_clk'.

Reported-by: David Binderman <dcb314@hotmail.com>
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci.c