diff mbox

[15/15] drivers/rtc/rtc-ab3100.c: Remove empty function

Message ID 1368445693-24639-15-git-send-email-sachin.kamat@linaro.org
State Accepted
Headers show

Commit Message

Sachin Kamat May 13, 2013, 11:48 a.m. UTC
'remove' function does not do anything. Hence delete it.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Linus Walleij <linus.walleij@stericsson.com>
---
 drivers/rtc/rtc-ab3100.c |    6 ------
 1 file changed, 6 deletions(-)

Comments

Linus Walleij May 14, 2013, 7:42 a.m. UTC | #1
On Mon, May 13, 2013 at 1:48 PM, Sachin Kamat <sachin.kamat@linaro.org> wrote:

> 'remove' function does not do anything. Hence delete it.
>
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
> Cc: Linus Walleij <linus.walleij@stericsson.com>

Acked-by: Linus Walleij <linus.walleij@linaro.org>

Yours,
Linus Walleij
diff mbox

Patch

diff --git a/drivers/rtc/rtc-ab3100.c b/drivers/rtc/rtc-ab3100.c
index 572208d..ff43534 100644
--- a/drivers/rtc/rtc-ab3100.c
+++ b/drivers/rtc/rtc-ab3100.c
@@ -240,17 +240,11 @@  static int __init ab3100_rtc_probe(struct platform_device *pdev)
 	return 0;
 }
 
-static int __exit ab3100_rtc_remove(struct platform_device *pdev)
-{
-	return 0;
-}
-
 static struct platform_driver ab3100_rtc_driver = {
 	.driver = {
 		.name = "ab3100-rtc",
 		.owner = THIS_MODULE,
 	},
-	.remove	 = __exit_p(ab3100_rtc_remove),
 };
 
 module_platform_driver_probe(ab3100_rtc_driver, ab3100_rtc_probe);