diff options
author | Jisheng Zhang <jszhang@marvell.com> | 2016-02-16 21:08:30 +0800 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2016-02-29 11:03:30 +0100 |
commit | dc99471418549634ac072578233589c8a92249fb (patch) | |
tree | bbf5ef46cc7893132e4a6dee89cf9a6691f536af /drivers/mmc | |
parent | 0734e79c0552f944cee8bf4f12fd849eae235554 (diff) | |
download | blackbird-op-linux-dc99471418549634ac072578233589c8a92249fb.tar.gz blackbird-op-linux-dc99471418549634ac072578233589c8a92249fb.zip |
mmc: sdhci-pxav2: remove unnecessary assignment of pltfm_host->priv
The sdhci_pltfm_init() function has initialized the priv member as
NULL, so there's no need to do it again.
Signed-off-by: Jisheng Zhang <jszhang@marvell.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
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-pxav2.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mmc/host/sdhci-pxav2.c b/drivers/mmc/host/sdhci-pxav2.c index beffd8615489..1d8dd3540636 100644 --- a/drivers/mmc/host/sdhci-pxav2.c +++ b/drivers/mmc/host/sdhci-pxav2.c @@ -177,7 +177,6 @@ static int sdhci_pxav2_probe(struct platform_device *pdev) return PTR_ERR(host); pltfm_host = sdhci_priv(host); - pltfm_host->priv = NULL; clk = clk_get(dev, "PXA-SDHCLK"); if (IS_ERR(clk)) { |