提交 cd29cf7d 编写于 作者: M Manish Katiyar 提交者: Linus Torvalds

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

drivers/rtc/rtc-ds1390.c:125: warning: unused variable 'rtc'
Signed-off-by: NManish Katiyar <mkatiyar@gmail.com>
Signed-off-by: NAlessandro Zummo <a.zummo@towertech.it>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 ce43ae53
...@@ -122,7 +122,6 @@ static const struct rtc_class_ops ds1390_rtc_ops = { ...@@ -122,7 +122,6 @@ static const struct rtc_class_ops ds1390_rtc_ops = {
static int __devinit ds1390_probe(struct spi_device *spi) static int __devinit ds1390_probe(struct spi_device *spi)
{ {
struct rtc_device *rtc;
unsigned char tmp; unsigned char tmp;
struct ds1390 *chip; struct ds1390 *chip;
int res; int res;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册