From: Arnaldo Carvalho de Melo Date: Tue, 21 Mar 2006 06:45:37 +0000 (-0800) Subject: [SNAP]: Remove leftover unused hdr variable X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=d1d47beef8ecaeedc368f00780d02cfa5e540005;p=openwrt%2Fstaging%2Fblogic.git [SNAP]: Remove leftover unused hdr variable Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller --- 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, proto = find_snap_client(skb->h.raw); if (proto) { /* Pass the frame on. */ - u8 *hdr = skb->data; skb->h.raw += 5; skb_pull_rcsum(skb, 5); rc = proto->rcvfunc(skb, dev, &snap_packet_type, orig_dev);