projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mmc: remove unnecessary platform_set_drvdata()
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
mmc
/
host
/
au1xmmc.c
diff --git
a/drivers/mmc/host/au1xmmc.c
b/drivers/mmc/host/au1xmmc.c
index 127a8fade4daa6de02507c24060fb9aa76dab922..df9becdd2e991739010fc62638757bf02387aeda 100644
(file)
--- a/
drivers/mmc/host/au1xmmc.c
+++ b/
drivers/mmc/host/au1xmmc.c
@@
-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;
}