Remove variable that is only assigned too but not referenced.
This commit is contained in:
parent
188094a61f
commit
6af195bf29
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: iop.c,v 1.34 2003/01/18 21:23:13 thorpej Exp $ */
|
||||
/* $NetBSD: iop.c,v 1.35 2003/01/20 04:26:02 simonb Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2000, 2001, 2002 The NetBSD Foundation, Inc.
|
||||
|
@ -41,7 +41,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: iop.c,v 1.34 2003/01/18 21:23:13 thorpej Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: iop.c,v 1.35 2003/01/20 04:26:02 simonb Exp $");
|
||||
|
||||
#include "opt_i2o.h"
|
||||
#include "iop.h"
|
||||
|
@ -2186,7 +2186,7 @@ static void
|
|||
iop_msg_poll(struct iop_softc *sc, struct iop_msg *im, int timo)
|
||||
{
|
||||
u_int32_t rmfa;
|
||||
int s, status;
|
||||
int s;
|
||||
|
||||
s = splbio();
|
||||
|
||||
|
@ -2198,7 +2198,7 @@ iop_msg_poll(struct iop_softc *sc, struct iop_msg *im, int timo)
|
|||
if (rmfa == IOP_MFA_EMPTY)
|
||||
rmfa = iop_inl(sc, IOP_REG_OFIFO);
|
||||
if (rmfa != IOP_MFA_EMPTY) {
|
||||
status = iop_handle_reply(sc, rmfa);
|
||||
iop_handle_reply(sc, rmfa);
|
||||
|
||||
/*
|
||||
* Return the reply frame to the IOP's
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: if_lmc.c,v 1.18 2002/01/04 12:21:24 martin Exp $ */
|
||||
/* $NetBSD: if_lmc.c,v 1.19 2003/01/20 04:25:46 simonb Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1997-1999 LAN Media Corporation (LMC)
|
||||
|
@ -63,7 +63,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_lmc.c,v 1.18 2002/01/04 12:21:24 martin Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_lmc.c,v 1.19 2003/01/20 04:25:46 simonb Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -403,13 +403,10 @@ lmc_watchdog(int unit)
|
|||
lmc_softc_t * const sc = LMC_UNIT_TO_SOFTC(unit);
|
||||
struct ifnet *ifp = &sc->lmc_if;
|
||||
#endif
|
||||
int state;
|
||||
u_int32_t ostatus;
|
||||
u_int32_t link_status;
|
||||
u_int32_t ticks;
|
||||
|
||||
state = 0;
|
||||
|
||||
/*
|
||||
* Make sure the tx jabber and rx watchdog are off,
|
||||
* and the transmit and receive processes are running.
|
||||
|
|
Loading…
Reference in New Issue