Skip to content

Commit cd29cf7

Browse files
mkatiyartorvalds
authored andcommitted
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>
1 parent ce43ae5 commit cd29cf7

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎drivers/rtc/rtc-ds1390.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,6 @@ static const struct rtc_class_ops ds1390_rtc_ops = {
122122

123123
static int __devinit ds1390_probe(struct spi_device *spi)
124124
{
125-
struct rtc_device *rtc;
126125
unsigned char tmp;
127126
struct ds1390 *chip;
128127
int res;

0 commit comments

Comments
 (0)