e1000: fix wrong queue idx calculation
authorHong Zhiguo <[email protected]>
Tue, 22 Oct 2013 18:32:56 +0000 (18:32 +0000)
committerJeff Kirsher <[email protected]>
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 <[email protected]>
Tested-by: Aaron Brown <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
drivers/net/ethernet/intel/e1000/e1000_main.c