diff options
Diffstat (limited to 'drivers/mmc/host/mmci.c')
-rw-r--r-- | drivers/mmc/host/mmci.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mmc/host/mmci.c b/drivers/mmc/host/mmci.c index f32057972dd7..b93122636531 100644 --- a/drivers/mmc/host/mmci.c +++ b/drivers/mmc/host/mmci.c | |||
@@ -1683,8 +1683,6 @@ static int mmci_remove(struct amba_device *dev) | |||
1683 | { | 1683 | { |
1684 | struct mmc_host *mmc = amba_get_drvdata(dev); | 1684 | struct mmc_host *mmc = amba_get_drvdata(dev); |
1685 | 1685 | ||
1686 | amba_set_drvdata(dev, NULL); | ||
1687 | |||
1688 | if (mmc) { | 1686 | if (mmc) { |
1689 | struct mmci_host *host = mmc_priv(mmc); | 1687 | struct mmci_host *host = mmc_priv(mmc); |
1690 | 1688 | ||