Patchwork [14/15] drivers/rtc/rtc-au1xxx.c: Remove empty function

login
register
mail settings
Submitter Sachin Kamat
Date May 13, 2013, 11:48 a.m.
Message ID <1368445693-24639-14-git-send-email-sachin.kamat@linaro.org>
Download mbox | patch
Permalink /patch/243393/
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: Manuel Lauss <manuel.lauss@gmail.com>
---
 drivers/rtc/rtc-au1xxx.c |    6 ------
 1 file changed, 6 deletions(-)

Patch

diff --git a/drivers/rtc/rtc-au1xxx.c b/drivers/rtc/rtc-au1xxx.c
index 7c6e7bb..ed526a1 100644
--- a/drivers/rtc/rtc-au1xxx.c
+++ b/drivers/rtc/rtc-au1xxx.c
@@ -116,17 +116,11 @@  out_err:
 	return ret;
 }
 
-static int au1xtoy_rtc_remove(struct platform_device *pdev)
-{
-	return 0;
-}
-
 static struct platform_driver au1xrtc_driver = {
 	.driver		= {
 		.name	= "rtc-au1xxx",
 		.owner	= THIS_MODULE,
 	},
-	.remove		= au1xtoy_rtc_remove,
 };
 
 module_platform_driver_probe(au1xrtc_driver, au1xtoy_rtc_probe);