From: Ingo Molnar Date: Wed, 26 Nov 2008 00:53:08 +0000 (-0800) Subject: z85230: fix warning in drivers/net/wan/z85230.c X-Git-Tag: firefly_0821_release~16481^2~469 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=4174439ef5894964803c6300e7e88d97e075e4c0;p=firefly-linux-kernel-4.4.55.git 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 Signed-off-by: David S. Miller --- 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); irqreturn_t z8530_interrupt(int irq, void *dev_id) { struct z8530_dev *dev=dev_id; - u8 intr; + u8 uninitialized_var(intr); static volatile int locker=0; int work=0; struct z8530_irqhandler *irqs;