Remove a now-unused local variable.

This commit is contained in:
he 2007-09-06 08:52:36 +00:00
parent 446d51fb9b
commit a37504be16
4 changed files with 8 additions and 12 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_sn.c,v 1.25 2007/09/01 07:32:24 dyoung Exp $ */
/* $NetBSD: if_sn.c,v 1.26 2007/09/06 08:54:00 he Exp $ */
/*
* National Semiconductor DP8393X SONIC Driver
@ -16,7 +16,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: if_sn.c,v 1.25 2007/09/01 07:32:24 dyoung Exp $");
__KERNEL_RCSID(0, "$NetBSD: if_sn.c,v 1.26 2007/09/06 08:54:00 he Exp $");
#include "opt_inet.h"
@ -244,7 +244,6 @@ static int
snioctl(struct ifnet *ifp, u_long cmd, void *data)
{
struct ifaddr *ifa;
struct ifreq *ifr;
struct sn_softc *sc = ifp->if_softc;
int s = splnet(), err = 0;
int temp;

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_ie.c,v 1.48 2007/09/01 07:32:24 dyoung Exp $ */
/* $NetBSD: if_ie.c,v 1.49 2007/09/06 08:55:34 he Exp $ */
/*-
* Copyright (c) 1993, 1994, 1995 Charles M. Hannum.
@ -98,7 +98,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: if_ie.c,v 1.48 2007/09/01 07:32:24 dyoung Exp $");
__KERNEL_RCSID(0, "$NetBSD: if_ie.c,v 1.49 2007/09/06 08:55:34 he Exp $");
#include "opt_inet.h"
#include "opt_ns.h"
@ -1515,7 +1515,6 @@ ieioctl(struct ifnet *ifp, u_long cmd, void *data)
{
struct ie_softc *sc = ifp->if_softc;
struct ifaddr *ifa = (struct ifaddr *)data;
struct ifreq *ifr = (struct ifreq *)data;
int s, error = 0;
s = splnet();

View File

@ -1,4 +1,4 @@
/* $NetBSD: sgec.c,v 1.32 2007/09/01 07:32:27 dyoung Exp $ */
/* $NetBSD: sgec.c,v 1.33 2007/09/06 08:57:52 he Exp $ */
/*
* Copyright (c) 1999 Ludd, University of Lule}, Sweden. All rights reserved.
*
@ -45,7 +45,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: sgec.c,v 1.32 2007/09/01 07:32:27 dyoung Exp $");
__KERNEL_RCSID(0, "$NetBSD: sgec.c,v 1.33 2007/09/06 08:57:52 he Exp $");
#include "opt_inet.h"
#include "bpfilter.h"
@ -539,7 +539,6 @@ zeioctl(ifp, cmd, data)
void *data;
{
struct ze_softc *sc = ifp->if_softc;
struct ifreq *ifr = (struct ifreq *)data;
struct ifaddr *ifa = (struct ifaddr *)data;
int s = splnet(), error = 0;

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_qe.c,v 1.63 2007/09/01 07:32:31 dyoung Exp $ */
/* $NetBSD: if_qe.c,v 1.64 2007/09/06 08:52:36 he Exp $ */
/*
* Copyright (c) 1999 Ludd, University of Lule}, Sweden. All rights reserved.
*
@ -38,7 +38,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: if_qe.c,v 1.63 2007/09/01 07:32:31 dyoung Exp $");
__KERNEL_RCSID(0, "$NetBSD: if_qe.c,v 1.64 2007/09/06 08:52:36 he Exp $");
#include "opt_inet.h"
#include "bpfilter.h"
@ -649,7 +649,6 @@ int
qeioctl(struct ifnet *ifp, u_long cmd, void *data)
{
struct qe_softc *sc = ifp->if_softc;
struct ifreq *ifr = (struct ifreq *)data;
struct ifaddr *ifa = (struct ifaddr *)data;
int s = splnet(), error = 0;