Skip to contentSkip to conversation

Get rid of the last volatile.

AX.25 Applied Ralf Baechle 2 participants 2 messages Jul 9, 2006 – Jul 10, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

This volatile makes no sense - not even wearing pink shades ...

net/ax25/ax25_in.c +1 -1
index 4cf8754..e9d9429 100644
@@ -102,8 +102,8 @@ static int ax25_rx_fragment(ax25_cb *ax2
 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;