Move the vsi variable outside of the #ifdef block to unbreak NOIP kernels

after r277084.

MFC after:	6 days
X-MFC with:	r277084
This commit is contained in:
Bjoern A. Zeeb 2015-01-13 14:15:00 +00:00
parent 3e420a3e12
commit a2cf30b916
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=277130

View File

@ -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