projects/linux·commit cd29cf7d

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

cd29cf7d · Manish Katiyar <[email protected]> · 2009-02-04 15:12:19 -08:00

drivers/rtc/rtc-ds1390.c:125: warning: unused variable 'rtc'

Signed-off-by: Manish Katiyar <[email protected]>
Signed-off-by: Alessandro Zummo <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Commit
cd29cf7d112aa022cfcfb257ffe3d89ffbd1d820
Parents
ce43ae53

Changes

1 files changed · +0 −1

FileStatusAddDelContent
drivers/rtc/rtc-ds1390.cmodified+0−1View file

drivers/rtc/rtc-ds1390.c

View file
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;