summaryrefslogtreecommitdiffstats
path: root/net/ax25
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2006-07-10 03:16:44 +0200
committerDavid S. Miller <davem@sunset.davemloft.net>2006-07-10 23:50:28 +0200
commitbde3445c562dc72f0003550ba30db1e39be10366 (patch)
treeb68bf71be9eaaba056c9ef44ab4673b979cab403 /net/ax25
parent[PATCH] knfsd: nfsd4: add per-operation server stats (diff)
downloadlinux-bde3445c562dc72f0003550ba30db1e39be10366.tar.xz
linux-bde3445c562dc72f0003550ba30db1e39be10366.zip
[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>
Diffstat (limited to 'net/ax25')
-rw-r--r--net/ax25/ax25_in.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ax25/ax25_in.c b/net/ax25/ax25_in.c
index 4cf87540fb3a..e9d94291581e 100644
--- a/net/ax25/ax25_in.c
+++ b/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;