aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCatherine Sullivan <catherine.sullivan@intel.com>2014-04-04 00:43:04 -0400
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2014-05-21 04:45:27 -0400
commitdd8621a92b81e9d2bc4db5ee5b795c67cc04d3fa (patch)
tree938b54ad2f9ea222af154c91cba6b6b47c25697f
parent9774dd8d7d0a8fa1cebe244d5f35f70f38f2d30e (diff)
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>
-rw-r--r--drivers/net/ethernet/intel/i40evf/i40e_type.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/net/ethernet/intel/i40evf/i40e_type.h b/drivers/net/ethernet/intel/i40evf/i40e_type.h
index 51a6dee3c7b1..a1055b4d9b4a 100644
--- a/drivers/net/ethernet/intel/i40evf/i40e_type.h
+++ b/drivers/net/ethernet/intel/i40evf/i40e_type.h
@@ -101,15 +101,6 @@ enum i40e_debug_mask {
101 I40E_DEBUG_ALL = 0xFFFFFFFF 101 I40E_DEBUG_ALL = 0xFFFFFFFF
102}; 102};
103 103
104/* PCI Bus Info */
105#define I40E_PCI_LINK_WIDTH_1 0x10
106#define I40E_PCI_LINK_WIDTH_2 0x20
107#define I40E_PCI_LINK_WIDTH_4 0x40
108#define I40E_PCI_LINK_WIDTH_8 0x80
109#define I40E_PCI_LINK_SPEED_2500 0x1
110#define I40E_PCI_LINK_SPEED_5000 0x2
111#define I40E_PCI_LINK_SPEED_8000 0x3
112
113/* These are structs for managing the hardware information and the operations. 104/* These are structs for managing the hardware information and the operations.
114 * The structures of function pointers are filled out at init time when we 105 * The structures of function pointers are filled out at init time when we
115 * know for sure exactly which hardware we're working with. This gives us the 106 * know for sure exactly which hardware we're working with. This gives us the