diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2005-09-10 23:25:42 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2005-09-10 23:25:42 +0000 |
commit | 2c80dde76ea919097e78732b08954bb5d84e1df9 (patch) | |
tree | 3af2a0221271e94b66a9b244d726577be0d5c3ba | |
parent | 70bc4e0a1c853673be63406d17588fe8d3d639e3 (diff) |
whitespace removal and KNF
-rw-r--r-- | sys/dev/pci/if_em.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/pci/if_em.c b/sys/dev/pci/if_em.c index 6d8cb3c399f..8ce6b6e9dec 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.67 2005/08/09 04:10:12 mickey Exp $ */ +/* $OpenBSD: if_em.c,v 1.68 2005/09/10 23:25:41 brad Exp $ */ /* $FreeBSD: if_em.c,v 1.46 2004/09/29 18:28:28 mlaier Exp $ */ #include <dev/pci/if_em.h> @@ -47,7 +47,6 @@ int em_display_debug_stats = 0; struct em_softc *em_adapter_list = NULL; - /********************************************************************* * Driver version *********************************************************************/ @@ -409,14 +408,15 @@ em_start_locked(struct ifnet *ifp) struct em_softc *sc = ifp->if_softc; mtx_assert(&sc->mtx, MA_OWNED); - + if (!sc->link_active) return; for (;;) { IFQ_POLL(&ifp->if_snd, m_head); - if (m_head == NULL) break; + if (m_head == NULL) + break; /* * em_encap() can modify our pointer, and or make it NULL on @@ -950,7 +950,7 @@ em_encap(struct em_softc *sc, struct mbuf **m_headp) } #if 0 - em_transmit_checksum_setup(sc, m_head, &txd_upper, &txd_lower); + em_transmit_checksum_setup(sc, m_head, &txd_upper, &txd_lower); #endif txd_upper = txd_lower = 0; |