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

drivers/rtc/rtc-nuc900.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: Wan ZongShun <mcuos.com@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
8bd941e7 afdce301

-6
-6
drivers/rtc/rtc-nuc900.c
··· 260 260 return 0; 261 261 } 262 262 263 - static int __exit nuc900_rtc_remove(struct platform_device *pdev) 264 - { 265 - return 0; 266 - } 267 - 268 263 static struct platform_driver nuc900_rtc_driver = { 269 - .remove = __exit_p(nuc900_rtc_remove), 270 264 .driver = { 271 265 .name = "nuc900-rtc", 272 266 .owner = THIS_MODULE,