From e7c764e47529e720f7ff918ad65cb307536a8d85 Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Tue, 21 Nov 2006 02:30:38 +0000 Subject: style changes. no op. --- sys/dev/pci/if_em.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'sys') diff --git a/sys/dev/pci/if_em.c b/sys/dev/pci/if_em.c index 06937b62cf8..a937f93686e 100644 --- a/sys/dev/pci/if_em.c +++ b/sys/dev/pci/if_em.c @@ -31,7 +31,7 @@ POSSIBILITY OF SUCH DAMAGE. ***************************************************************************/ -/* $OpenBSD: if_em.c,v 1.158 2006/11/18 18:39:14 brad Exp $ */ +/* $OpenBSD: if_em.c,v 1.159 2006/11/21 02:30:37 brad Exp $ */ /* $FreeBSD: if_em.c,v 1.46 2004/09/29 18:28:28 mlaier Exp $ */ #include @@ -585,8 +585,7 @@ em_ioctl(struct ifnet *ifp, u_long command, caddr_t data) void em_watchdog(struct ifnet *ifp) { - struct em_softc *sc; - sc = ifp->if_softc; + struct em_softc *sc = ifp->if_softc; /* If we are in this routine because of pause frames, then * don't reset the hardware. @@ -785,8 +784,7 @@ em_intr(void *arg) sc->rx_overruns++; } - if (ifp->if_flags & IFF_RUNNING && - IFQ_IS_EMPTY(&ifp->if_snd) == 0) + if (ifp->if_flags & IFF_RUNNING && !IFQ_IS_EMPTY(&ifp->if_snd)) em_start(ifp); return (claimed); @@ -803,7 +801,7 @@ em_intr(void *arg) void em_media_status(struct ifnet *ifp, struct ifmediareq *ifmr) { - struct em_softc *sc= ifp->if_softc; + struct em_softc *sc = ifp->if_softc; u_char fiber_type = IFM_1000_SX; INIT_DEBUGOUT("em_media_status: begin"); -- cgit v1.2.3