diff options
author | Kyungmin Park <kyungmin.park@samsung.com> | 2010-08-10 21:01:43 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-11 11:59:03 -0400 |
commit | cfd1f82f20e0c557a061189f7d8c30d623fbe313 (patch) | |
tree | 176c0ebd310c963c3837968d3b0f63c744076a27 /drivers/mmc | |
parent | ccc92c23240cdf952ef7cc39ba563910dcbc9cbe (diff) |
sdhci: remove useless set_clock() check
When using QUIRK_NONSTANDARD_CLOCK, it checks the set_clock() function
which is not used actually. So delete it.
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Cc: <linux-mmc@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/host/sdhci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c index 483b78eee3ac..8da164bef048 100644 --- a/drivers/mmc/host/sdhci.c +++ b/drivers/mmc/host/sdhci.c | |||
@@ -1787,7 +1787,7 @@ int sdhci_add_host(struct sdhci_host *host) | |||
1787 | */ | 1787 | */ |
1788 | mmc->ops = &sdhci_ops; | 1788 | mmc->ops = &sdhci_ops; |
1789 | if (host->quirks & SDHCI_QUIRK_NONSTANDARD_CLOCK && | 1789 | if (host->quirks & SDHCI_QUIRK_NONSTANDARD_CLOCK && |
1790 | host->ops->set_clock && host->ops->get_min_clock) | 1790 | host->ops->get_min_clock) |
1791 | mmc->f_min = host->ops->get_min_clock(host); | 1791 | mmc->f_min = host->ops->get_min_clock(host); |
1792 | else | 1792 | else |
1793 | mmc->f_min = host->max_clk / 256; | 1793 | mmc->f_min = host->max_clk / 256; |