forcedeth: optimize the xmit with unlikely
authorZhu Yanjun <[email protected]>
Tue, 28 Nov 2017 06:42:22 +0000 (01:42 -0500)
committerDavid S. Miller <[email protected]>
Thu, 30 Nov 2017 14:35:03 +0000 (09:35 -0500)
commitb78a6aa3876bdd0aa819eb1738caa6d74867b94e
tree7adbdbcd90d2eae81111eff4e902c8ff91cd5690
parentd750dbdc071bf863112ea83c64cd7c44d4bad261
forcedeth: optimize the xmit with unlikely

In xmit, it is very impossible that TX_ERROR occurs. So using
unlikely optimizes the xmit process.

CC: Srinivas Eeda <[email protected]>
CC: Joe Jin <[email protected]>
CC: Junxiao Bi <[email protected]>
Signed-off-by: Zhu Yanjun <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/ethernet/nvidia/forcedeth.c