OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce43ae5
)
rtc-ds1390: fix compilation warnings in drivers/rtc/rtc-ds1390.c
author
Manish Katiyar
<mkatiyar@gmail.com>
Wed, 4 Feb 2009 23:12:19 +0000
(15:12 -0800)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Thu, 5 Feb 2009 20:56:48 +0000
(12:56 -0800)
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>
drivers/rtc/rtc-ds1390.c
patch
|
blob
|
history
diff --git
a/drivers/rtc/rtc-ds1390.c
b/drivers/rtc/rtc-ds1390.c
index
e54b5c6
..
e01b955
100644
(file)
--- 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;