Skip to contentSkip to conversation

: Remove leftover unused hdr variable

PATCH In review Arnaldo Carvalho de Melo 1 participant 1 message Mar 10, 2006 Networking

lore
Share & tools
lore
#0 lore raw

PATCH 1/9 : Remove leftover unused hdr variable

---

 net/802/psnap.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

ad864a85e3a5ff4f063d8e415ffd44a7a249feb2

net/802/psnap.c +0 -1
index 97c95ee..270b9d2 100644
@@ -59,7 +59,6 @@ static int snap_rcv(struct sk_buff *skb,
 	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);
Signature · 1 line
1.2.2.gd27d