diff options
author | Alexander Duyck <alexander.h.duyck@intel.com> | 2009-02-15 23:59:44 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-15 23:59:44 -0800 |
commit | cbd347adfee2ba52a8ef85f92a46933d5840cc39 (patch) | |
tree | 6fe593287cc6486e78201da9419255530046fac1 /drivers/net/igb/e1000_phy.c | |
parent | bc1cbd3493c7a6b44fa6a1e6040ae3d9640d47c4 (diff) | |
download | op-kernel-dev-cbd347adfee2ba52a8ef85f92a46933d5840cc39.zip op-kernel-dev-cbd347adfee2ba52a8ef85f92a46933d5840cc39.tar.gz |
igb: remove unused defines
This patch removes all of the unused defines from the .h files contained in
igb. For some defines there was a use and so I plugged them into the correct
locations.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/igb/e1000_phy.c')
-rw-r--r-- | drivers/net/igb/e1000_phy.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/igb/e1000_phy.c b/drivers/net/igb/e1000_phy.c index ff0050e..de2d486 100644 --- a/drivers/net/igb/e1000_phy.c +++ b/drivers/net/igb/e1000_phy.c @@ -39,9 +39,6 @@ static s32 igb_wait_autoneg(struct e1000_hw *hw); /* Cable length tables */ static const u16 e1000_m88_cable_length_table[] = { 0, 50, 80, 110, 140, 140, E1000_CABLE_LENGTH_UNDEFINED }; -#define M88E1000_CABLE_LENGTH_TABLE_SIZE \ - (sizeof(e1000_m88_cable_length_table) / \ - sizeof(e1000_m88_cable_length_table[0])) static const u16 e1000_igp_2_cable_length_table[] = { 0, 0, 0, 0, 0, 0, 0, 0, 3, 5, 8, 11, 13, 16, 18, 21, |