summaryrefslogtreecommitdiff
path: root/drivers/net/dsa
diff options
context:
space:
mode:
authorAlexander Duyck <alexander.h.duyck@intel.com>2013-02-07 08:55:46 (GMT)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2013-04-18 23:40:07 (GMT)
commitb646c22edef1c350d26237a6f60d3a890ceedf6e (patch)
tree279301c5ad4c7efb3afc87fa8b888c3fe929d2f8 /drivers/net/dsa
parentb9555f6627656309c01b0c077dcecbee0ac9343f (diff)
downloadlinux-b646c22edef1c350d26237a6f60d3a890ceedf6e.tar.xz
igb: Pull adapter out of main path in igb_xmit_frame_ring
We only need the adapter pointer in the case of ptp. As such we can pull the adapter out of the main path and place it inside the if statement to avoid the temptation of accessing the adapter pointer in the fast path. Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com> Tested-by: Aaron Brown <aaron.f.brown@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/dsa')
0 files changed, 0 insertions, 0 deletions