Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d1d47bee authored by Arnaldo Carvalho de Melo's avatar Arnaldo Carvalho de Melo Committed by David S. Miller
Browse files

[SNAP]: Remove leftover unused hdr variable

parent 3fdadf7d
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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);