i40e: remove BUG_ON from FCoE setup
[cascardo/linux.git] / drivers / net / ethernet / intel / i40e / i40e_fcoe.c
index fe5d9bf..579a46c 100644 (file)
@@ -1544,8 +1544,6 @@ void i40e_fcoe_vsi_setup(struct i40e_pf *pf)
        if (!(pf->flags & I40E_FLAG_FCOE_ENABLED))
                return;
 
-       BUG_ON(!pf->vsi[pf->lan_vsi]);
-
        for (i = 0; i < pf->num_alloc_vsi; i++) {
                vsi = pf->vsi[i];
                if (vsi && vsi->type == I40E_VSI_FCOE) {