* [Trivial 2.5.58] Remove compile warning from net/ipv4/netfilter/ip_nat_helper.c
@ 2003-01-17 21:48 Bob Miller
0 siblings, 0 replies; only message in thread
From: Bob Miller @ 2003-01-17 21:48 UTC (permalink / raw)
To: coreteam; +Cc: trivial, linux-kernel
Delete an un-used stack variable.
diff -Nru a/net/ipv4/netfilter/ip_nat_helper.c b/net/ipv4/netfilter/ip_nat_helper.c
--- a/net/ipv4/netfilter/ip_nat_helper.c Thu Jan 16 14:06:04 2003
+++ b/net/ipv4/netfilter/ip_nat_helper.c Thu Jan 16 14:06:04 2003
@@ -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);
--
Bob Miller Email: rem@osdl.org
Open Source Development Lab Phone: 503.626.2455 Ext. 17
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-01-17 21:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-17 21:48 [Trivial 2.5.58] Remove compile warning from net/ipv4/netfilter/ip_nat_helper.c Bob Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®