diff --git a/drivers/rtc/rtc-au1xxx.c b/drivers/rtc/rtc-au1xxx.c index 7995abc391fcdec48b78fd569e1faccef97d8674..7c6e7bb4cf0062cbe475c8161b1ce8b29cf0c3ce 100644 --- a/drivers/rtc/rtc-au1xxx.c +++ b/drivers/rtc/rtc-au1xxx.c @@ -118,8 +118,6 @@ static int au1xtoy_rtc_probe(struct platform_device *pdev) static int au1xtoy_rtc_remove(struct platform_device *pdev) { - platform_set_drvdata(pdev, NULL); - return 0; }