summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorManish Katiyar <mkatiyar@gmail.com>2009-02-04 15:12:19 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2009-02-05 12:56:48 -0800
commitcd29cf7d112aa022cfcfb257ffe3d89ffbd1d820 (patch)
tree7101504f35d76774355dfb73be12bee3e682e8a5 /drivers
parentce43ae538b540cf3e9f5036d8023b88bf9f8fa40 (diff)
downloadlinux-cd29cf7d112aa022cfcfb257ffe3d89ffbd1d820.tar.gz
linux-cd29cf7d112aa022cfcfb257ffe3d89ffbd1d820.tar.bz2
linux-cd29cf7d112aa022cfcfb257ffe3d89ffbd1d820.zip
rtc-ds1390: fix compilation warnings in drivers/rtc/rtc-ds1390.c
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> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/rtc/rtc-ds1390.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-ds1390.c b/drivers/rtc/rtc-ds1390.c
index e54b5c619bdf..e01b955db077 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;