]> bbs.cooldavid.org Git - net-next-2.6.git/commit
ixgbe: combine two modifications of TXDCTL into one
authorAlexander Duyck <alexander.h.duyck@intel.com>
Thu, 19 Aug 2010 13:34:27 +0000 (13:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Aug 2010 23:40:48 +0000 (16:40 -0700)
commit179b4096e25c190fc987832e0037b40507cc7ca0
treee9bfe0f3cdc31b1e4d575b3457cdbd6126fd4de6
parent67ebd79141e2dd503b0bc4898d06d07f07fc2635
ixgbe: combine two modifications of TXDCTL into one

In ixgbe_up_complete we were doing a read-modify-write of TXDCTL followed
by another one just a few lines further down.  Instead of performing two
separate read-modify-writes it would make more sense to combine the two
into one.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ixgbe/ixgbe_main.c