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

drivers/rtc/rtc-msm6242.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: Geert Uytterhoeven <geert@linux-m68k.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
e7d5a628 8bd941e7

-6
-6
drivers/rtc/rtc-msm6242.c
··· 222 222 return 0; 223 223 } 224 224 225 - static int __exit msm6242_rtc_remove(struct platform_device *pdev) 226 - { 227 - return 0; 228 - } 229 - 230 225 static struct platform_driver msm6242_rtc_driver = { 231 226 .driver = { 232 227 .name = "rtc-msm6242", 233 228 .owner = THIS_MODULE, 234 229 }, 235 - .remove = __exit_p(msm6242_rtc_remove), 236 230 }; 237 231 238 232 module_platform_driver_probe(msm6242_rtc_driver, msm6242_rtc_probe);