From f2df3b6e9935c964cd33d2ca59079b3f176697d3 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Fri, 5 Aug 2016 17:34:55 -0400 Subject: [PATCH] zynq_sdhci.c: Fix warning in arasan_sdhci_probe We no longer need to set 'caps' as it's not passed to sdhci_setup_cfg anymore. Fixes: 14bed52d276a ("mmc: sdhci: remove the unnecessary arguments for sdhci_setup_cfg") Signed-off-by: Tom Rini --- drivers/mmc/zynq_sdhci.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/mmc/zynq_sdhci.c b/drivers/mmc/zynq_sdhci.c index bf542192ce..3815b94329 100644 --- a/drivers/mmc/zynq_sdhci.c +++ b/drivers/mmc/zynq_sdhci.c @@ -27,7 +27,6 @@ static int arasan_sdhci_probe(struct udevice *dev) struct arasan_sdhci_plat *plat = dev_get_platdata(dev); struct mmc_uclass_priv *upriv = dev_get_uclass_priv(dev); struct sdhci_host *host = dev_get_priv(dev); - u32 caps; int ret; host->quirks = SDHCI_QUIRK_WAIT_SEND_CMD | @@ -39,7 +38,6 @@ static int arasan_sdhci_probe(struct udevice *dev) host->version = sdhci_readw(host, SDHCI_HOST_VERSION); - caps = sdhci_readl(host, SDHCI_CAPABILITIES); ret = sdhci_setup_cfg(&plat->cfg, host, CONFIG_ZYNQ_SDHCI_MAX_FREQ, CONFIG_ZYNQ_SDHCI_MIN_FREQ); host->mmc = &plat->mmc; -- 2.39.5