diff options
author | Arnaldo Carvalho de Melo <acme@mandriva.com> | 2006-03-21 01:45:37 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-03-21 01:45:37 -0500 |
commit | d1d47beef8ecaeedc368f00780d02cfa5e540005 (patch) | |
tree | 389d4636e2db419f3291f0cfcdfc8b25e2ef3853 | |
parent | 3fdadf7d27e3fbcf72930941884387d1f4936f04 (diff) |
[SNAP]: Remove leftover unused hdr variable
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | net/802/psnap.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/802/psnap.c b/net/802/psnap.c index 97c95eec79ed..270b9d2cae65 100644 --- a/net/802/psnap.c +++ b/net/802/psnap.c | |||
@@ -59,7 +59,6 @@ static int snap_rcv(struct sk_buff *skb, struct net_device *dev, | |||
59 | proto = find_snap_client(skb->h.raw); | 59 | proto = find_snap_client(skb->h.raw); |
60 | if (proto) { | 60 | if (proto) { |
61 | /* Pass the frame on. */ | 61 | /* Pass the frame on. */ |
62 | u8 *hdr = skb->data; | ||
63 | skb->h.raw += 5; | 62 | skb->h.raw += 5; |
64 | skb_pull_rcsum(skb, 5); | 63 | skb_pull_rcsum(skb, 5); |
65 | rc = proto->rcvfunc(skb, dev, &snap_packet_type, orig_dev); | 64 | rc = proto->rcvfunc(skb, dev, &snap_packet_type, orig_dev); |