浏览代码

[PATCH] e1000: Fix bit 22 (TXDCTL) for 82571 & 82572 controllers

Removed duplicate code, TXDCTL and TXDCTL_COUNT_DESC are the same bit and there is no need to set it twice.

Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: John Ronciak <john.ronciak@intel.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Jeff Kirsher 19 年之前
父节点
当前提交
47028635d1
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      drivers/net/e1000/e1000_hw.c

+ 0 - 1
drivers/net/e1000/e1000_hw.c

@@ -735,7 +735,6 @@ e1000_init_hw(struct e1000_hw *hw)
             break;
             break;
         case e1000_82571:
         case e1000_82571:
         case e1000_82572:
         case e1000_82572:
-            ctrl |= (1 << 22);
         case e1000_82573:
         case e1000_82573:
             ctrl |= E1000_TXDCTL_COUNT_DESC;
             ctrl |= E1000_TXDCTL_COUNT_DESC;
             break;
             break;