summaryrefslogtreecommitdiffstats
path: root/sys/netinet
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1997-11-07 08:53:44 +0000
committerphk <phk@FreeBSD.org>1997-11-07 08:53:44 +0000
commit4d268889365c1d9414bbca2f6c63d87db74ec37b (patch)
tree6993a0a1b7a3687b97ad7a5a073bb465e89eb411 /sys/netinet
parente4fdd132492fc7a4aaa448a72f13f3344f287ab1 (diff)
downloadFreeBSD-src-4d268889365c1d9414bbca2f6c63d87db74ec37b.zip
FreeBSD-src-4d268889365c1d9414bbca2f6c63d87db74ec37b.tar.gz
Remove a bunch of variables which were unused both in GENERIC and LINT.
Found by: -Wunused
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/in_hostcache.c3
-rw-r--r--sys/netinet/tcp_input.c3
-rw-r--r--sys/netinet/tcp_reass.c3
3 files changed, 3 insertions, 6 deletions
diff --git a/sys/netinet/in_hostcache.c b/sys/netinet/in_hostcache.c
index 8b46959..a3f08b6 100644
--- a/sys/netinet/in_hostcache.c
+++ b/sys/netinet/in_hostcache.c
@@ -26,7 +26,7 @@
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id$
+ * $Id: in_hostcache.c,v 1.1 1997/06/18 01:24:28 wollman Exp $
*/
#include <sys/param.h>
@@ -151,7 +151,6 @@ static struct hccallback inhc_cb = {
int
inhc_init(void)
{
- int error;
return (hc_init(AF_INET, &inhc_cb, 128, 0));
}
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c
index d87482c..9785551 100644
--- a/sys/netinet/tcp_input.c
+++ b/sys/netinet/tcp_input.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)tcp_input.c 8.12 (Berkeley) 5/24/95
- * $Id: tcp_input.c,v 1.63 1997/10/02 02:10:40 davidg Exp $
+ * $Id: tcp_input.c,v 1.64 1997/10/28 15:58:52 bde Exp $
*/
#include "opt_tcpdebug.h"
@@ -623,7 +623,6 @@ findpcb:
* segment in this state.
*/
case TCPS_LISTEN: {
- struct mbuf *am;
register struct sockaddr_in *sin;
if (tiflags & TH_RST)
diff --git a/sys/netinet/tcp_reass.c b/sys/netinet/tcp_reass.c
index d87482c..9785551 100644
--- a/sys/netinet/tcp_reass.c
+++ b/sys/netinet/tcp_reass.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)tcp_input.c 8.12 (Berkeley) 5/24/95
- * $Id: tcp_input.c,v 1.63 1997/10/02 02:10:40 davidg Exp $
+ * $Id: tcp_input.c,v 1.64 1997/10/28 15:58:52 bde Exp $
*/
#include "opt_tcpdebug.h"
@@ -623,7 +623,6 @@ findpcb:
* segment in this state.
*/
case TCPS_LISTEN: {
- struct mbuf *am;
register struct sockaddr_in *sin;
if (tiflags & TH_RST)
OpenPOWER on IntegriCloud