Patchwork [07/15] drivers/rtc/rtc-ls1x.c: Remove empty function

login
register
mail settings
Submitter Sachin Kamat
Date May 13, 2013, 11:48 a.m.
Message ID <1368445693-24639-7-git-send-email-sachin.kamat@linaro.org>
Download mbox | patch
Permalink /patch/243386/
State New
Headers show

Comments

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

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: zhao zhang <zhzhl555@gmail.com>
---
 drivers/rtc/rtc-ls1x.c |    6 ------
 1 file changed, 6 deletions(-)

Patch

diff --git a/drivers/rtc/rtc-ls1x.c b/drivers/rtc/rtc-ls1x.c
index e913f38..682ecb0 100644
--- a/drivers/rtc/rtc-ls1x.c
+++ b/drivers/rtc/rtc-ls1x.c
@@ -185,17 +185,11 @@  err:
 	return ret;
 }
 
-static int ls1x_rtc_remove(struct platform_device *pdev)
-{
-	return 0;
-}
-
 static struct platform_driver  ls1x_rtc_driver = {
 	.driver		= {
 		.name	= "ls1x-rtc",
 		.owner	= THIS_MODULE,
 	},
-	.remove		= ls1x_rtc_remove,
 	.probe		= ls1x_rtc_probe,
 };