Skip to contentSkip to conversation

Remove compile warning from net/ipv4/netfilter/ip_nat_helper.c

Trivial 2.5.58 Bob Miller 1 participant 1 message Jan 17, 2003

Subsystems (2)
lore
Share & tools
lore

Bob Miller

author
#0 lore raw

Delete an un-used stack variable.

net/ipv4/netfilter/ip_nat_helper.c +0 -1
diff -Nru a/net/ipv4/netfilter/ip_nat_helper.c b/net/ipv4/netfilter/ip_nat_helper.c
@@ -84,7 +84,6 @@
 	iph = (*skb)->nh.iph;
 	if (iph->protocol == IPPROTO_TCP) {
 		struct tcphdr *tcph = (void *)iph + iph->ihl*4;
-		void *data = (void *)tcph + tcph->doff*4;
 
 		DEBUGP("ip_nat_resize_packet: Seq_offset before: ");
 		DUMP_OFFSET(this_way);
Signature · 2 lines
Bob Miller					Email: [email protected]
Open Source Development Lab			Phone: 503.626.2455 Ext. 17