aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wan/z85230.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-11-25 19:53:08 -0500
committerDavid S. Miller <davem@davemloft.net>2008-11-25 19:53:08 -0500
commit4174439ef5894964803c6300e7e88d97e075e4c0 (patch)
treed90147f45ed49ee31e33faa065c573ed83db31bd /drivers/net/wan/z85230.c
parentef0cd87ef6326609be8abf19030101be24cc5703 (diff)
z85230: fix warning in drivers/net/wan/z85230.c
this warning: drivers/net/wan/z85230.c: In function ‘z8530_interrupt’: drivers/net/wan/z85230.c:713: warning: ‘intr’ may be used uninitialized in this function is clearly bogus - annotate it. Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wan/z85230.c')
-rw-r--r--drivers/net/wan/z85230.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wan/z85230.c b/drivers/net/wan/z85230.c
index 5bf7e01ef0e9..d7bf53a56e17 100644
--- a/drivers/net/wan/z85230.c
+++ b/drivers/net/wan/z85230.c
@@ -710,7 +710,7 @@ EXPORT_SYMBOL(z8530_nop);
710irqreturn_t z8530_interrupt(int irq, void *dev_id) 710irqreturn_t z8530_interrupt(int irq, void *dev_id)
711{ 711{
712 struct z8530_dev *dev=dev_id; 712 struct z8530_dev *dev=dev_id;
713 u8 intr; 713 u8 uninitialized_var(intr);
714 static volatile int locker=0; 714 static volatile int locker=0;
715 int work=0; 715 int work=0;
716 struct z8530_irqhandler *irqs; 716 struct z8530_irqhandler *irqs;