Skip to content

Commit

Permalink
[SNAP]: Remove leftover unused hdr variable
Browse files Browse the repository at this point in the history
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Arnaldo Carvalho de Melo authored and David S. Miller committed Mar 21, 2006
1 parent 3fdadf7 commit d1d47be
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion net/802/psnap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d1d47be

Please sign in to comment.