diff options
author | David S. Miller <davem@davemloft.net> | 2009-03-01 23:32:39 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-03-01 23:32:39 -0500 |
commit | fc1f209514691af9167e462880e858efc8b22d83 (patch) | |
tree | 869a1f11053de59445f135fca3f639d5fa99fff6 /drivers/net/ixgbe/ixgbe_common.c | |
parent | d517c4a1da590a7fa50325a5e5cd18f07e8fb5a7 (diff) |
ixgbe: Fix some compiler warnings.
'pap' is never used in ixgbe_dcb_hw_config_82599()
and 'eec' in ixgbe_acquire_eeptom() is only used when
status == 0 but GCC has some trouble seeing that.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ixgbe/ixgbe_common.c')
-rw-r--r-- | drivers/net/ixgbe/ixgbe_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ixgbe/ixgbe_common.c b/drivers/net/ixgbe/ixgbe_common.c index 26ee8a04646e..245db0e712e7 100644 --- a/drivers/net/ixgbe/ixgbe_common.c +++ b/drivers/net/ixgbe/ixgbe_common.c | |||
@@ -661,7 +661,7 @@ static s32 ixgbe_poll_eeprom_eerd_done(struct ixgbe_hw *hw) | |||
661 | static s32 ixgbe_acquire_eeprom(struct ixgbe_hw *hw) | 661 | static s32 ixgbe_acquire_eeprom(struct ixgbe_hw *hw) |
662 | { | 662 | { |
663 | s32 status = 0; | 663 | s32 status = 0; |
664 | u32 eec; | 664 | u32 eec = 0; |
665 | u32 i; | 665 | u32 i; |
666 | 666 | ||
667 | if (ixgbe_acquire_swfw_sync(hw, IXGBE_GSSR_EEP_SM) != 0) | 667 | if (ixgbe_acquire_swfw_sync(hw, IXGBE_GSSR_EEP_SM) != 0) |