[lkml]   [2000]   [Aug]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[PATCH]Small warning cleanup for 2.2.17pre19

Here's the warning ...

gcc -D__KERNEL__ -I/usr/src/linux-2.2.17pre19/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -c -o tcp_output.o tcp_output.c
tcp_output.c: In function `tcp_send_active_reset':
tcp_output.c:814: warning: unused variable `tp'

Trivial patch follows.


Art Haas

--- net/ipv4/tcp_output.c.orig Sun Aug 20 08:24:15 2000
+++ net/ipv4/tcp_output.c Sun Aug 20 09:36:23 2000
@@ -811,7 +811,6 @@
void tcp_send_active_reset(struct sock *sk)
- struct tcp_opt *tp = &(sk->tp_pinfo.af_tcp);
struct sk_buff *skb;

/* NOTE: No TCP options attached and we never retransmit this. */

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:37    [W:0.025 / U:0.920 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site