diff --git a/drivers/rtc/rtc-ls1x.c b/drivers/rtc/rtc-ls1x.c index db82f91f456254f77f88f2cd50c862f169ea7aa3..e913f38bd33d97dfe78b8beaeb208331e57f029d 100644 --- a/drivers/rtc/rtc-ls1x.c +++ b/drivers/rtc/rtc-ls1x.c @@ -187,8 +187,6 @@ static int ls1x_rtc_probe(struct platform_device *pdev) static int ls1x_rtc_remove(struct platform_device *pdev) { - platform_set_drvdata(pdev, NULL); - return 0; }