]> www.infradead.org Git - users/jedix/linux-maple.git/commit
igb: Drop unnecessary checks in transmit path
authorAlexander Duyck <aduyck@mirantis.com>
Thu, 7 Jan 2016 07:11:26 +0000 (23:11 -0800)
committerKirtikar Kashyap <kirtikar.kashyap@oracle.com>
Thu, 22 Jun 2017 21:28:30 +0000 (14:28 -0700)
commit7d0a077ee9803c5ef26f1590a9506b861df2edfe
tree529f49c3ff8292a0a463dacaf4b6dba6a43594a5
parent67a753e5d80d864317155e82375c6280c1f74f48
igb: Drop unnecessary checks in transmit path

This patch drops several checks that we dropped from ixgbe some ago.  It
should not be possible for us to be called with either of the conditional
statements returning true so we can just drop them from the hot-path.

Signed-off-by: Alexander Duyck <aduyck@mirantis.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
(cherry picked from commit 9c2f186e45faa34d5f6ff52aa84c361d4be72288)

Orabug: 26325580

Signed-off-by: Kirtikar Kashyap <kirtikar.kashyap@oracle.com>
Reviewed-by: Jack Vogel <jack.vogel@oracle.com>
drivers/net/ethernet/intel/igb/igb_main.c