diff options
author | delphij <delphij@FreeBSD.org> | 2013-02-09 04:13:45 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2013-02-09 04:13:45 +0000 |
commit | 1e9469454738b1210cd249fe5c82df8ab1d37370 (patch) | |
tree | c6e389599ad3370bc560d76d848c6198e15b4aa6 /sys/ofed | |
parent | 611862e52c19177f17d8ffa3f1f86c6cf9c501cf (diff) | |
download | FreeBSD-src-1e9469454738b1210cd249fe5c82df8ab1d37370.zip FreeBSD-src-1e9469454738b1210cd249fe5c82df8ab1d37370.tar.gz |
Fix LINT build on amd64.
Diffstat (limited to 'sys/ofed')
-rw-r--r-- | sys/ofed/drivers/net/mlx4/en_tx.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/ofed/drivers/net/mlx4/en_tx.c b/sys/ofed/drivers/net/mlx4/en_tx.c index fee7afe..d285220 100644 --- a/sys/ofed/drivers/net/mlx4/en_tx.c +++ b/sys/ofed/drivers/net/mlx4/en_tx.c @@ -936,16 +936,16 @@ mlx4_en_transmit_locked(struct ifnet *dev, int tx_ind, struct mbuf *m) return (err); } /* Process the queue */ - while ((next = drbr_peek(ifp, ring->br)) != NULL) { + while ((next = drbr_peek(dev, ring->br)) != NULL) { if ((err = mlx4_en_xmit(dev, tx_ind, &next)) != 0) { if (next == NULL) { - drbr_advance(ifp, ring->br); + drbr_advance(dev, ring->br); } else { - drbr_putback(ifp, ring->br, next); + drbr_putback(dev, ring->br, next); } break; } - drbr_advance(ifp, ring->br); + drbr_advance(dev, ring->br); enqueued++; dev->if_obytes += next->m_pkthdr.len; if (next->m_flags & M_MCAST) |