mirror of https://gitee.com/openkylin/linux.git
i40e: remove forever unused ID
Somehow an ID that has never been productized is in the code. There are no plans to use it, so just get rid of it. Change-ID: I59117d48ea9ee0360b0fe33833ac8092f8a24b4c Signed-off-by: Jesse Brandeburg <jesse.brandeburg@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
857942fd1a
commit
56028154ca
|
@ -44,7 +44,6 @@ static i40e_status i40e_set_mac_type(struct i40e_hw *hw)
|
||||||
switch (hw->device_id) {
|
switch (hw->device_id) {
|
||||||
case I40E_DEV_ID_SFP_XL710:
|
case I40E_DEV_ID_SFP_XL710:
|
||||||
case I40E_DEV_ID_QEMU:
|
case I40E_DEV_ID_QEMU:
|
||||||
case I40E_DEV_ID_KX_A:
|
|
||||||
case I40E_DEV_ID_KX_B:
|
case I40E_DEV_ID_KX_B:
|
||||||
case I40E_DEV_ID_KX_C:
|
case I40E_DEV_ID_KX_C:
|
||||||
case I40E_DEV_ID_QSFP_A:
|
case I40E_DEV_ID_QSFP_A:
|
||||||
|
|
|
@ -30,7 +30,6 @@
|
||||||
/* Device IDs */
|
/* Device IDs */
|
||||||
#define I40E_DEV_ID_SFP_XL710 0x1572
|
#define I40E_DEV_ID_SFP_XL710 0x1572
|
||||||
#define I40E_DEV_ID_QEMU 0x1574
|
#define I40E_DEV_ID_QEMU 0x1574
|
||||||
#define I40E_DEV_ID_KX_A 0x157F
|
|
||||||
#define I40E_DEV_ID_KX_B 0x1580
|
#define I40E_DEV_ID_KX_B 0x1580
|
||||||
#define I40E_DEV_ID_KX_C 0x1581
|
#define I40E_DEV_ID_KX_C 0x1581
|
||||||
#define I40E_DEV_ID_QSFP_A 0x1583
|
#define I40E_DEV_ID_QSFP_A 0x1583
|
||||||
|
|
|
@ -82,7 +82,6 @@ static int i40e_veb_get_bw_info(struct i40e_veb *veb);
|
||||||
static const struct pci_device_id i40e_pci_tbl[] = {
|
static const struct pci_device_id i40e_pci_tbl[] = {
|
||||||
{PCI_VDEVICE(INTEL, I40E_DEV_ID_SFP_XL710), 0},
|
{PCI_VDEVICE(INTEL, I40E_DEV_ID_SFP_XL710), 0},
|
||||||
{PCI_VDEVICE(INTEL, I40E_DEV_ID_QEMU), 0},
|
{PCI_VDEVICE(INTEL, I40E_DEV_ID_QEMU), 0},
|
||||||
{PCI_VDEVICE(INTEL, I40E_DEV_ID_KX_A), 0},
|
|
||||||
{PCI_VDEVICE(INTEL, I40E_DEV_ID_KX_B), 0},
|
{PCI_VDEVICE(INTEL, I40E_DEV_ID_KX_B), 0},
|
||||||
{PCI_VDEVICE(INTEL, I40E_DEV_ID_KX_C), 0},
|
{PCI_VDEVICE(INTEL, I40E_DEV_ID_KX_C), 0},
|
||||||
{PCI_VDEVICE(INTEL, I40E_DEV_ID_QSFP_A), 0},
|
{PCI_VDEVICE(INTEL, I40E_DEV_ID_QSFP_A), 0},
|
||||||
|
|
|
@ -44,7 +44,6 @@ i40e_status i40e_set_mac_type(struct i40e_hw *hw)
|
||||||
switch (hw->device_id) {
|
switch (hw->device_id) {
|
||||||
case I40E_DEV_ID_SFP_XL710:
|
case I40E_DEV_ID_SFP_XL710:
|
||||||
case I40E_DEV_ID_QEMU:
|
case I40E_DEV_ID_QEMU:
|
||||||
case I40E_DEV_ID_KX_A:
|
|
||||||
case I40E_DEV_ID_KX_B:
|
case I40E_DEV_ID_KX_B:
|
||||||
case I40E_DEV_ID_KX_C:
|
case I40E_DEV_ID_KX_C:
|
||||||
case I40E_DEV_ID_QSFP_A:
|
case I40E_DEV_ID_QSFP_A:
|
||||||
|
|
|
@ -30,7 +30,6 @@
|
||||||
/* Device IDs */
|
/* Device IDs */
|
||||||
#define I40E_DEV_ID_SFP_XL710 0x1572
|
#define I40E_DEV_ID_SFP_XL710 0x1572
|
||||||
#define I40E_DEV_ID_QEMU 0x1574
|
#define I40E_DEV_ID_QEMU 0x1574
|
||||||
#define I40E_DEV_ID_KX_A 0x157F
|
|
||||||
#define I40E_DEV_ID_KX_B 0x1580
|
#define I40E_DEV_ID_KX_B 0x1580
|
||||||
#define I40E_DEV_ID_KX_C 0x1581
|
#define I40E_DEV_ID_KX_C 0x1581
|
||||||
#define I40E_DEV_ID_QSFP_A 0x1583
|
#define I40E_DEV_ID_QSFP_A 0x1583
|
||||||
|
|
Loading…
Reference in New Issue