mirror of https://gitee.com/openkylin/linux.git
i40evf: Remove unused defines
Remove the defines for PCI bus info that are never used. Signed-off-by: Catherine Sullivan <catherine.sullivan@intel.com> Tested-by: Sibai Li <sibai.li@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
parent
9774dd8d7d
commit
dd8621a92b
|
@ -101,15 +101,6 @@ enum i40e_debug_mask {
|
|||
I40E_DEBUG_ALL = 0xFFFFFFFF
|
||||
};
|
||||
|
||||
/* PCI Bus Info */
|
||||
#define I40E_PCI_LINK_WIDTH_1 0x10
|
||||
#define I40E_PCI_LINK_WIDTH_2 0x20
|
||||
#define I40E_PCI_LINK_WIDTH_4 0x40
|
||||
#define I40E_PCI_LINK_WIDTH_8 0x80
|
||||
#define I40E_PCI_LINK_SPEED_2500 0x1
|
||||
#define I40E_PCI_LINK_SPEED_5000 0x2
|
||||
#define I40E_PCI_LINK_SPEED_8000 0x3
|
||||
|
||||
/* These are structs for managing the hardware information and the operations.
|
||||
* The structures of function pointers are filled out at init time when we
|
||||
* know for sure exactly which hardware we're working with. This gives us the
|
||||
|
|
Loading…
Reference in New Issue