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

drivers/rtc/rtc-starfire.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
15b005b7 0cb4b84f

-6
-6
drivers/rtc/rtc-starfire.c
··· 51 51 return 0; 52 52 } 53 53 54 - static int __exit starfire_rtc_remove(struct platform_device *pdev) 55 - { 56 - return 0; 57 - } 58 - 59 54 static struct platform_driver starfire_rtc_driver = { 60 55 .driver = { 61 56 .name = "rtc-starfire", 62 57 .owner = THIS_MODULE, 63 58 }, 64 - .remove = __exit_p(starfire_rtc_remove), 65 59 }; 66 60 67 61 module_platform_driver_probe(starfire_rtc_driver, starfire_rtc_probe);