igb: simplify swap in clean_rx_irq if using packet split
authorAlexander Duyck <alexander.h.duyck@intel.com>
Thu, 20 Nov 2008 08:47:34 +0000 (00:47 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Nov 2008 08:47:34 +0000 (00:47 -0800)
commitb2d565365e02947699a8e3d594275662a8d00646
tree8a8edb980df546544276f96f891df2a4e1f51614
parent3ef6b2354f5ac340396e47a49b64b8da61ada3b7
igb: simplify swap in clean_rx_irq if using packet split

This update replaces the xchg calls that were added with a pair of
assignments as there is no need for the xchg calls and they were found to
cause issues on some architectures.

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/igb/igb_main.c