Messages in this thread Patch in this message | | | From | ahaas@neosoft ... | Date | Sun, 20 Aug 2000 09:49:13 -0500 | Subject | [PATCH]Small warning cleanup for 2.2.17pre19 |
| |
Hi.
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.
Thanks,
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 majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
| |