]> git.baikalelectronics.ru Git - kernel.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)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 16 Feb 2016 00:46:15 +0000 (16:46 -0800)
commit8b770b94581b2bfe61c9d0fe4da8b85c7e6497bd
tree08a1e639afdf6e97f6d3f91c2791a6f76fab29ab
parentd05aac79215b3bef5c34aa87ab8a22ed26a939f1
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>
drivers/net/ethernet/intel/igb/igb_main.c