e1000: fix wrong queue idx calculation
authorHong Zhiguo <zhiguohong@tencent.com>
Tue, 22 Oct 2013 18:32:56 +0000 (18:32 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 1 Nov 2013 12:45:29 +0000 (05:45 -0700)
commit49a45a0686cc2b43bcb3834a68416a201475dc77
tree29c91baa900bfc736f0a19b878bcaaa199752b85
parentba4865027c11d7ac8e5a33e0624dd415caab2027
e1000: fix wrong queue idx calculation

tx_ring and adapter->tx_ring are already of type "struct
e1000_tx_ring *"

Signed-off-by: Hong Zhiguo <zhiguohong@tencent.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/e1000/e1000_main.c