Patchwork [01/15] drivers/rtc/rtc-m48t86.c: Remove empty function

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

Comments

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

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
This series compile tested against linux-next (20130513).
---
 drivers/rtc/rtc-m48t86.c |    6 ------
 1 file changed, 6 deletions(-)

Patch

diff --git a/drivers/rtc/rtc-m48t86.c b/drivers/rtc/rtc-m48t86.c
index d1fe7f5..2d30314 100644
--- a/drivers/rtc/rtc-m48t86.c
+++ b/drivers/rtc/rtc-m48t86.c
@@ -166,18 +166,12 @@  static int m48t86_rtc_probe(struct platform_device *dev)
 	return 0;
 }
 
-static int m48t86_rtc_remove(struct platform_device *dev)
-{
-	return 0;
-}
-
 static struct platform_driver m48t86_rtc_platform_driver = {
 	.driver		= {
 		.name	= "rtc-m48t86",
 		.owner	= THIS_MODULE,
 	},
 	.probe		= m48t86_rtc_probe,
-	.remove		= m48t86_rtc_remove,
 };
 
 module_platform_driver(m48t86_rtc_platform_driver);