Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drivers/rtc/rtc-sun4v.c: remove empty function

After the switch to devm_* functions and the removal of
rtc_device_unregister(), the 'remove' function does not do anything.
Delete it.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Sachin Kamat and committed by
Linus Torvalds
d55b6643 15b005b7

-6
-6
drivers/rtc/rtc-sun4v.c
··· 92 92 return 0; 93 93 } 94 94 95 - static int __exit sun4v_rtc_remove(struct platform_device *pdev) 96 - { 97 - return 0; 98 - } 99 - 100 95 static struct platform_driver sun4v_rtc_driver = { 101 96 .driver = { 102 97 .name = "rtc-sun4v", 103 98 .owner = THIS_MODULE, 104 99 }, 105 - .remove = __exit_p(sun4v_rtc_remove), 106 100 }; 107 101 108 102 module_platform_driver_probe(sun4v_rtc_driver, sun4v_rtc_probe);