i40e: remove obsolete version check
This version check only applies to very, very old firmware, that only ran on A0 hardware, which we never shipped and don't support in this driver anyway. Remove it, before somebody gets hurt. Change-ID: I3752d090ff488acf98ee76b075af961e9c968ee4 Signed-off-by: Mitch Williams <mitch.a.williams@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
parent
1f01227916
commit
9b28ef0100
@ -6353,12 +6353,6 @@ static int i40e_get_capabilities(struct i40e_pf *pf)
|
||||
}
|
||||
} while (err);
|
||||
|
||||
if (((pf->hw.aq.fw_maj_ver == 2) && (pf->hw.aq.fw_min_ver < 22)) ||
|
||||
(pf->hw.aq.fw_maj_ver < 2)) {
|
||||
pf->hw.func_caps.num_msix_vectors++;
|
||||
pf->hw.func_caps.num_msix_vectors_vf++;
|
||||
}
|
||||
|
||||
if (pf->hw.debug_mask & I40E_DEBUG_USER)
|
||||
dev_info(&pf->pdev->dev,
|
||||
"pf=%d, num_vfs=%d, msix_pf=%d, msix_vf=%d, fd_g=%d, fd_b=%d, pf_max_q=%d num_vsi=%d\n",
|
||||
|
Loading…
Reference in New Issue
Block a user