Skip to content

Commit

Permalink
rtc-ds1390: fix compilation warnings in drivers/rtc/rtc-ds1390.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Manish Katiyar authored and Linus Torvalds committed Feb 5, 2009
1 parent ce43ae5 commit cd29cf7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/rtc/rtc-ds1390.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit cd29cf7

Please sign in to comment.