]> git.proxmox.com Git - mirror_ubuntu-artful-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)
committerTim Gardner <tim.gardner@canonical.com>
Wed, 6 Apr 2016 09:20:14 +0000 (10:20 +0100)
commit0c68335790edcbd1eeeef13abec55ae770b29f9f
tree6fe4aa1b4d61aabc47655921532a2521b0445eb3
parent961c7a9f507719418ea84f0bff2394b4a72289c4
igb: Drop unnecessary checks in transmit path

BugLink: http://bugs.launchpad.net/bugs/1547674
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 net-next commit 9c2f186e45faa34d5f6ff52aa84c361d4be72288)
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
drivers/net/ethernet/intel/igb/igb_main.c