* [PATCH] rtc: ds1374: Remove unused variable
@ 2015-08-27 10:42 Javier Martinez Canillas
0 siblings, 0 replies; only message in thread
From: Javier Martinez Canillas @ 2015-08-27 10:42 UTC (permalink / raw)
To: linux-kernel
Cc: Javier Martinez Canillas, Alexandre Belloni, rtc-linux, Alessandro Zummo
The res variable in ds1374_remove() is not used so remove it.
Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
---
drivers/rtc/rtc-ds1374.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/rtc/rtc-ds1374.c b/drivers/rtc/rtc-ds1374.c
index 7067232ba507..84d9a6da08fb 100644
--- a/drivers/rtc/rtc-ds1374.c
+++ b/drivers/rtc/rtc-ds1374.c
@@ -664,7 +664,6 @@ static int ds1374_remove(struct i2c_client *client)
{
struct ds1374 *ds1374 = i2c_get_clientdata(client);
#ifdef CONFIG_RTC_DRV_DS1374_WDT
- int res;
misc_deregister(&ds1374_miscdev);
ds1374_miscdev.parent = NULL;
--
2.4.3
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-08-27 10:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-27 10:42 [PATCH] rtc: ds1374: Remove unused variable Javier Martinez Canillas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®