diff mbox

rtc-ds1390: Fix compilation warnings in drivers/rtc/rtc-ds1390.c

Message ID 20090129104522.3654.25847.stgit@i1501.lan.towertech.it
State Accepted, archived
Headers show

Commit Message

Alessandro Zummo Jan. 29, 2009, 10:45 a.m. UTC
From: Manish Katiyar <mkatiyar@gmail.com>

Below patch removes the following compilation warning
drivers/rtc/rtc-ds1390.c:125: warning: unused variable 'rtc'


Signed-off-by: Manish Katiyar <mkatiyar@gmail.com>
Signed-off-by: Alessandro Zummo <a.zummo@towertech.it>
---

 drivers/rtc/rtc-ds1390.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to "rtc-linux".
Membership options at http://groups.google.com/group/rtc-linux .
Please read http://groups.google.com/group/rtc-linux/web/checklist
before submitting a driver.
-~----------~----~----~----~------~----~------~--~---
diff mbox

Patch

diff --git a/drivers/rtc/rtc-ds1390.c b/drivers/rtc/rtc-ds1390.c
index e54b5c6..e01b955 100644
--- a/drivers/rtc/rtc-ds1390.c
+++ b/drivers/rtc/rtc-ds1390.c
@@ -122,7 +122,6 @@  static const struct rtc_class_ops ds1390_rtc_ops = {
 
 static int __devinit ds1390_probe(struct spi_device *spi)
 {
-	struct rtc_device *rtc;
 	unsigned char tmp;
 	struct ds1390 *chip;
 	int res;