Module Name: src Committed By: christos Date: Sat Nov 6 23:28:58 UTC 2010
Modified Files: src/sys/net: if.c Log Message: remove unused variables. To generate a diff of this commit: cvs rdiff -u -r1.247 -r1.248 src/sys/net/if.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/net/if.c diff -u src/sys/net/if.c:1.247 src/sys/net/if.c:1.248 --- src/sys/net/if.c:1.247 Sat Nov 6 13:17:13 2010 +++ src/sys/net/if.c Sat Nov 6 19:28:58 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: if.c,v 1.247 2010/11/06 17:17:13 christos Exp $ */ +/* $NetBSD: if.c,v 1.248 2010/11/06 23:28:58 christos Exp $ */ /*- * Copyright (c) 1999, 2000, 2001, 2008 The NetBSD Foundation, Inc. @@ -90,7 +90,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: if.c,v 1.247 2010/11/06 17:17:13 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if.c,v 1.248 2010/11/06 23:28:58 christos Exp $"); #include "opt_inet.h" @@ -1688,8 +1688,6 @@ { struct ifnet *ifp; struct ifreq *ifr; - struct ifcapreq *ifcr; - struct ifdatareq *ifdr; int error = 0; #if defined(COMPAT_OSOCK) || defined(COMPAT_OIFREQ) u_long ocmd = cmd; @@ -1726,8 +1724,6 @@ } else #endif ifr = data; - ifcr = data; - ifdr = data; ifp = ifunit(ifr->ifr_name);