From: Jisheng Zhang Date: Tue, 16 Feb 2016 13:08:30 +0000 (+0800) Subject: mmc: sdhci-pxav2: remove unnecessary assignment of pltfm_host->priv X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=dc99471418549634ac072578233589c8a92249fb;p=linux-beck.git 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 Acked-by: Arnd Bergmann Acked-by: Adrian Hunter Signed-off-by: Ulf Hansson --- 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)) {