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

drivers/rtc/rtc-au1xxx.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>
Cc: Manuel Lauss <manuel.lauss@gmail.com>
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
b3ecafd9 d6c81758

-6
-6
drivers/rtc/rtc-au1xxx.c
··· 116 116 return ret; 117 117 } 118 118 119 - static int au1xtoy_rtc_remove(struct platform_device *pdev) 120 - { 121 - return 0; 122 - } 123 - 124 119 static struct platform_driver au1xrtc_driver = { 125 120 .driver = { 126 121 .name = "rtc-au1xxx", 127 122 .owner = THIS_MODULE, 128 123 }, 129 - .remove = au1xtoy_rtc_remove, 130 124 }; 131 125 132 126 module_platform_driver_probe(au1xrtc_driver, au1xtoy_rtc_probe);