Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1214462 > unrolled thread

[PATCH] rtc: ds1374: Remove unused variable

Started byJavier Martinez Canillas <javier@osg.samsung.com>
First post2015-08-27 12:50 +0200
Last post2015-08-27 12:50 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH] rtc: ds1374: Remove unused variable Javier Martinez Canillas <javier@osg.samsung.com> - 2015-08-27 12:50 +0200

#1214462 — [PATCH] rtc: ds1374: Remove unused variable

FromJavier Martinez Canillas <javier@osg.samsung.com>
Date2015-08-27 12:50 +0200
Subject[PATCH] rtc: ds1374: Remove unused variable
Message-ID<q22UN-21M-9@gated-at.bofh.it>
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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web