Whitespace

This commit is contained in:
skrll 2022-07-26 14:53:12 +00:00
parent 56cc39f2d1
commit 9653f04c34
1 changed files with 10 additions and 10 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_bge.c,v 1.366 2022/07/22 06:31:08 skrll Exp $ */
/* $NetBSD: if_bge.c,v 1.367 2022/07/26 14:53:12 skrll Exp $ */
/*
* Copyright (c) 2001 Wind River Systems
@ -79,7 +79,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: if_bge.c,v 1.366 2022/07/22 06:31:08 skrll Exp $");
__KERNEL_RCSID(0, "$NetBSD: if_bge.c,v 1.367 2022/07/26 14:53:12 skrll Exp $");
#include <sys/param.h>
@ -1286,7 +1286,7 @@ bge_update_all_threshes(int lvl)
int s = pserialize_read_enter();
IFNET_READER_FOREACH(ifp) {
if (strncmp(ifp->if_xname, namebuf, namelen) != 0)
continue;
continue;
/* We got a match: update if doing auto-threshold-tuning */
if (bge_auto_thresh)
bge_set_thresh(ifp, lvl);
@ -1320,7 +1320,7 @@ bge_alloc_jumbo_mem(struct bge_softc *sc)
/* Grab a big chunk o' storage. */
if (bus_dmamem_alloc(sc->bge_dmatag, BGE_JMEM, PAGE_SIZE, 0,
&seg, 1, &rseg, BUS_DMA_NOWAIT)) {
&seg, 1, &rseg, BUS_DMA_NOWAIT)) {
aprint_error_dev(sc->bge_dev, "can't alloc rx buffers\n");
return ENOBUFS;
}
@ -3542,7 +3542,7 @@ bge_attach(device_t parent, device_t self, void *aux)
* First check if firmware knows we do not have SEEPROM.
*/
if (prop_dictionary_get_bool(device_properties(self),
"without-seeprom", &no_seeprom) && no_seeprom)
"without-seeprom", &no_seeprom) && no_seeprom)
sc->bge_flags |= BGEF_NO_EEPROM;
else if (BGE_ASICREV(sc->bge_chipid) == BGE_ASICREV_BCM5906)
@ -4450,7 +4450,7 @@ bge_rxeof(struct bge_softc *sc)
continue;
}
if (bge_newbuf_jumbo(sc, sc->bge_jumbo,
NULL)== ENOBUFS) {
NULL) == ENOBUFS) {
if_statinc(ifp, if_ierrors);
bge_newbuf_jumbo(sc, sc->bge_jumbo, m);
continue;
@ -4926,7 +4926,7 @@ bge_cksum_pad(struct mbuf *pkt)
* (thus perhaps avoiding the bcm5700 dma-min bug).
*/
for (last = pkt; last->m_next != NULL; last = last->m_next) {
continue; /* do nothing */
continue; /* do nothing */
}
/* `last' now points to last in chain. */
@ -4990,8 +4990,8 @@ bge_compact_dma_runt(struct mbuf *pkt)
m = prev;
continue;
} else if (m->m_next != NULL &&
M_TRAILINGSPACE(m) >= shortfall &&
m->m_next->m_len >= (8 + shortfall)) {
M_TRAILINGSPACE(m) >= shortfall &&
m->m_next->m_len >= (8 + shortfall)) {
/* m is writable and have enough data in next, pull up. */
memcpy(m->m_data + m->m_len, m->m_next->m_data,
@ -5183,7 +5183,7 @@ doit:
aprint_error_dev(sc->bge_dev,
"TSO: hard case m0->m_len == %d < ip/tcp hlen %zd,"
"not handled yet\n",
m0->m_len, hlen+ sizeof(struct tcphdr));
m0->m_len, hlen+ sizeof(struct tcphdr));
#ifdef NOTYET
/*
* XXX jonathan@NetBSD.org: untested.