Remove a now-unused local variable.

This commit is contained in:
he 2007-09-06 08:14:30 +00:00
parent 94fb9a4b80
commit 446d51fb9b

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_ni.c,v 1.31 2007/09/01 07:32:25 dyoung Exp $ */ /* $NetBSD: if_ni.c,v 1.32 2007/09/06 08:14:30 he Exp $ */
/* /*
* Copyright (c) 2000 Ludd, University of Lule}, Sweden. All rights reserved. * Copyright (c) 2000 Ludd, University of Lule}, Sweden. All rights reserved.
* *
@ -36,7 +36,7 @@
*/ */
#include <sys/cdefs.h> #include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: if_ni.c,v 1.31 2007/09/01 07:32:25 dyoung Exp $"); __KERNEL_RCSID(0, "$NetBSD: if_ni.c,v 1.32 2007/09/06 08:14:30 he Exp $");
#include "opt_inet.h" #include "opt_inet.h"
#include "bpfilter.h" #include "bpfilter.h"
@ -701,7 +701,6 @@ niioctl(ifp, cmd, data)
void *data; void *data;
{ {
struct ni_softc *sc = ifp->if_softc; struct ni_softc *sc = ifp->if_softc;
struct ifreq *ifr = (struct ifreq *)data;
struct ifaddr *ifa = (struct ifaddr *)data; struct ifaddr *ifa = (struct ifaddr *)data;
int s = splnet(), error = 0; int s = splnet(), error = 0;