Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cd29cf7d authored by Manish Katiyar's avatar Manish Katiyar Committed by Linus Torvalds
Browse files

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



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

Signed-off-by: default avatarManish Katiyar <mkatiyar@gmail.com>
Signed-off-by: default avatarAlessandro Zummo <a.zummo@towertech.it>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent ce43ae53
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;