aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ixl/ixl_txrx.c
diff options
context:
space:
mode:
authorBjoern A. Zeeb <bz@FreeBSD.org>2015-01-13 14:15:00 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2015-01-13 14:15:00 +0000
commita2cf30b916912451d1336716a15352de2892f3cf (patch)
treee8d69625261ebe50b9cbc7400cef3a80343e8c2a /sys/dev/ixl/ixl_txrx.c
parent3e420a3e127ec8ba192c3322e99bc924a85232da (diff)
downloadsrc-a2cf30b916912451d1336716a15352de2892f3cf.tar.gz
src-a2cf30b916912451d1336716a15352de2892f3cf.zip
Move the vsi variable outside of the #ifdef block to unbreak NOIP kernels
after r277084. MFC after: 6 days X-MFC with: r277084
Notes
Notes: svn path=/head/; revision=277130
Diffstat (limited to 'sys/dev/ixl/ixl_txrx.c')
-rwxr-xr-xsys/dev/ixl/ixl_txrx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ixl/ixl_txrx.c b/sys/dev/ixl/ixl_txrx.c
index a684eaa33ba3..f397b2d2fefd 100755
--- a/sys/dev/ixl/ixl_txrx.c
+++ b/sys/dev/ixl/ixl_txrx.c
@@ -1108,8 +1108,8 @@ int
ixl_init_rx_ring(struct ixl_queue *que)
{
struct rx_ring *rxr = &que->rxr;
-#if defined(INET6) || defined(INET)
struct ixl_vsi *vsi = que->vsi;
+#if defined(INET6) || defined(INET)
struct ifnet *ifp = vsi->ifp;
struct lro_ctrl *lro = &rxr->lro;
#endif