Pārlūkot izejas kodu

[AX.25]: Get rid of the last volatile.

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>
Ralf Baechle 19 gadi atpakaļ
vecāks
revīzija
bde3445c56
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      net/ax25/ax25_in.c

+ 1 - 1
net/ax25/ax25_in.c

@@ -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;