mmc: remove unnecessary platform_set_drvdata()
[firefly-linux-kernel-4.4.55.git] / drivers / mmc / host / au1xmmc.c
index 127a8fade4daa6de02507c24060fb9aa76dab922..df9becdd2e991739010fc62638757bf02387aeda 100644 (file)
@@ -1149,7 +1149,6 @@ static int au1xmmc_remove(struct platform_device *pdev)
                kfree(host->ioarea);
 
                mmc_free_host(host->mmc);
-               platform_set_drvdata(pdev, NULL);
        }
        return 0;
 }