[SNAP]: Remove leftover unused hdr variable
authorArnaldo Carvalho de Melo <acme@mandriva.com>
Tue, 21 Mar 2006 06:45:37 +0000 (22:45 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Mar 2006 06:45:37 +0000 (22:45 -0800)
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/802/psnap.c

index 97c95eec79ed7a05cc2174b9ff819ea268ada3ee..270b9d2cae6589b983f9925ee728370aec74cec7 100644 (file)
@@ -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);