diff options
-rw-r--r-- | drivers/rtc/rtc-vr41xx.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/rtc/rtc-vr41xx.c b/drivers/rtc/rtc-vr41xx.c index b940c2374904..3b5b4fa9a6e9 100644 --- a/drivers/rtc/rtc-vr41xx.c +++ b/drivers/rtc/rtc-vr41xx.c | |||
@@ -381,8 +381,6 @@ static int rtc_remove(struct platform_device *pdev) | |||
381 | if (rtc) | 381 | if (rtc) |
382 | rtc_device_unregister(rtc); | 382 | rtc_device_unregister(rtc); |
383 | 383 | ||
384 | platform_set_drvdata(pdev, NULL); | ||
385 | |||
386 | free_irq(aie_irq, pdev); | 384 | free_irq(aie_irq, pdev); |
387 | free_irq(pie_irq, pdev); | 385 | free_irq(pie_irq, pdev); |
388 | if (rtc1_base) | 386 | if (rtc1_base) |