diff options
author | Julian Stecklina <jsteckli@os.inf.tu-dresden.de> | 2010-11-16 19:41:36 -0800 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2010-11-16 19:41:36 -0800 |
commit | eca2a33c985eb19dd0ca4b37d66c7fb5d8b76308 (patch) | |
tree | d6c749bb1f8ca9305bd13e324d295eea7f5610ef /drivers/net/igbvf/netdev.c | |
parent | 2c20ebbaed7f3f21506629ee931941a9bba199ab (diff) | |
download | linux-eca2a33c985eb19dd0ca4b37d66c7fb5d8b76308.tar.gz linux-eca2a33c985eb19dd0ca4b37d66c7fb5d8b76308.tar.bz2 linux-eca2a33c985eb19dd0ca4b37d66c7fb5d8b76308.zip |
igbvf: Remove some dead code in igbvf
Removed unused variable in igbvf.
Signed-off-by: Julian Stecklina <jsteckli@os.inf.tu-dresden.de>
Acked-by: Greg Rose <greg.v.rose@intel.com>
Tested-by: Emil Tantilov <emil.s.tantilov@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/igbvf/netdev.c')
-rw-r--r-- | drivers/net/igbvf/netdev.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/igbvf/netdev.c b/drivers/net/igbvf/netdev.c index 1e7bfca79a58..4c998b7726da 100644 --- a/drivers/net/igbvf/netdev.c +++ b/drivers/net/igbvf/netdev.c @@ -1852,8 +1852,6 @@ static void igbvf_watchdog_task(struct work_struct *work) if (link) { if (!netif_carrier_ok(netdev)) { - bool txb2b = 1; - mac->ops.get_link_up_info(&adapter->hw, &adapter->link_speed, &adapter->link_duplex); @@ -1863,11 +1861,9 @@ static void igbvf_watchdog_task(struct work_struct *work) adapter->tx_timeout_factor = 1; switch (adapter->link_speed) { case SPEED_10: - txb2b = 0; adapter->tx_timeout_factor = 16; break; case SPEED_100: - txb2b = 0; /* maybe add some timeout factor ? */ break; } |