OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2b2095
)
[AX.25]: Get rid of the last volatile.
author
Ralf Baechle
<ralf@linux-mips.org>
Mon, 10 Jul 2006 01:16:44 +0000
(18:16 -0700)
committer
David 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
patch
|
blob
|
history
diff --git
a/net/ax25/ax25_in.c
b/net/ax25/ax25_in.c
index
4cf8754
..
e9d9429
100644
(file)
--- 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;