Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/netinet Remove unused variables



details:   https://anonhg.NetBSD.org/src/rev/b2b1bf8ffb33
branches:  trunk
changeset: 790049:b2b1bf8ffb33
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Sep 15 14:45:50 2013 +0000

description:
Remove unused variables

diffstat:

 sys/netinet/tcp_usrreq.c |  7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diffs (35 lines):

diff -r 7894c74da274 -r b2b1bf8ffb33 sys/netinet/tcp_usrreq.c
--- a/sys/netinet/tcp_usrreq.c  Sun Sep 15 14:40:56 2013 +0000
+++ b/sys/netinet/tcp_usrreq.c  Sun Sep 15 14:45:50 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: tcp_usrreq.c,v 1.166 2013/04/10 00:16:03 christos Exp $        */
+/*     $NetBSD: tcp_usrreq.c,v 1.167 2013/09/15 14:45:50 martin Exp $  */
 
 /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -95,7 +95,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tcp_usrreq.c,v 1.166 2013/04/10 00:16:03 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tcp_usrreq.c,v 1.167 2013/09/15 14:45:50 martin Exp $");
 
 #include "opt_inet.h"
 #include "opt_ipsec.h"
@@ -1403,7 +1403,6 @@
        struct tcpcb *tp;
        struct kinfo_pcb pcb;
        char *dp;
-       u_int op, arg;
        size_t len, needed, elem_size, out_size;
        int error, elem_count, pf, proto, pf2;
 
@@ -1423,8 +1422,6 @@
        }
        error = 0;
        dp = oldp;
-       op = name[0];
-       arg = name[1];
        out_size = elem_size;
        needed = 0;
 



Home | Main Index | Thread Index | Old Index