[AX.25]: Get rid of the last volatile.
authorRalf Baechle <ralf@linux-mips.org>
Mon, 10 Jul 2006 01:16:44 +0000 (18:16 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 10 Jul 2006 21:50:28 +0000 (14:50 -0700)
This volatile makes no sense - not even wearing pink shades ...

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ax25/ax25_in.c

index 4cf8754..e9d9429 100644 (file)
@@ -102,8 +102,8 @@ static int ax25_rx_fragment(ax25_cb *ax25, struct sk_buff *skb)
 int ax25_rx_iframe(ax25_cb *ax25, struct sk_buff *skb)
 {
        int (*func)(struct sk_buff *, ax25_cb *);
-       volatile int queued = 0;
        unsigned char pid;
+       int queued = 0;
 
        if (skb == NULL) return 0;