mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-11-20 00:26:39 +08:00
[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>
This commit is contained in:
parent
3fdadf7d27
commit
d1d47beef8
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user