diff options
Diffstat (limited to 'drivers/edac')
-rw-r--r-- | drivers/edac/tile_edac.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/edac/tile_edac.c b/drivers/edac/tile_edac.c index a0820536b7d9..578f915ee195 100644 --- a/drivers/edac/tile_edac.c +++ b/drivers/edac/tile_edac.c | |||
@@ -257,7 +257,6 @@ static void __exit tile_edac_exit(void) | |||
257 | if (!pdev) | 257 | if (!pdev) |
258 | continue; | 258 | continue; |
259 | 259 | ||
260 | platform_set_drvdata(pdev, NULL); | ||
261 | platform_device_unregister(pdev); | 260 | platform_device_unregister(pdev); |
262 | } | 261 | } |
263 | platform_driver_unregister(&tile_edac_mc_driver); | 262 | platform_driver_unregister(&tile_edac_mc_driver); |