diff options
author | Faiz Abbas <faiz_abbas@ti.com> | 2018-11-21 16:03:57 +0530 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2018-12-17 08:26:24 +0100 |
commit | 52b5f5cfa2f736f3e478b65490736b62412dc11c (patch) | |
tree | 66f689b4730787199da58918a142d4f5c14fbbfa /drivers/mmc | |
parent | 5b0d62108b468b13410533c0ceea3821942bf592 (diff) | |
download | linux-stable-52b5f5cfa2f736f3e478b65490736b62412dc11c.tar.gz linux-stable-52b5f5cfa2f736f3e478b65490736b62412dc11c.tar.bz2 linux-stable-52b5f5cfa2f736f3e478b65490736b62412dc11c.zip |
mmc: sdhci-omap: Remove redundant structure assignments
The sdhci_execute_tuning() function has assignment of
private pointers multiple times. Remove the redundant assignment.
Acked-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/host/sdhci-omap.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/mmc/host/sdhci-omap.c b/drivers/mmc/host/sdhci-omap.c index 4fad47926743..f588ab679cb0 100644 --- a/drivers/mmc/host/sdhci-omap.c +++ b/drivers/mmc/host/sdhci-omap.c @@ -296,10 +296,6 @@ static int sdhci_omap_execute_tuning(struct mmc_host *mmc, u32 opcode) int ret = 0; u32 reg; - pltfm_host = sdhci_priv(host); - omap_host = sdhci_pltfm_priv(pltfm_host); - dev = omap_host->dev; - /* clock tuning is not needed for upto 52MHz */ if (ios->clock <= 52000000) return 0; |