Skip to content

Commit 52b5f5c

Browse files
Faiz-AbbasUlf Hansson
authored andcommitted
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>
1 parent 5b0d621 commit 52b5f5c

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

‎drivers/mmc/host/sdhci-omap.c‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -296,10 +296,6 @@ static int sdhci_omap_execute_tuning(struct mmc_host *mmc, u32 opcode)
296296
int ret = 0;
297297
u32 reg;
298298

299-
pltfm_host = sdhci_priv(host);
300-
omap_host = sdhci_pltfm_priv(pltfm_host);
301-
dev = omap_host->dev;
302-
303299
/* clock tuning is not needed for upto 52MHz */
304300
if (ios->clock <= 52000000)
305301
return 0;

0 commit comments

Comments
 (0)