summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_dcb.h
diff options
context:
space:
mode:
authorBruce Allan2019-04-16 19:34:54 +0200
committerJeff Kirsher2019-05-30 08:07:22 +0200
commit092a33d403120594e71dbcba4d72d99de7bb897a (patch)
tree947f4dc39c100773136c75be4d96ab5fd555767c /drivers/net/ethernet/intel/ice/ice_dcb.h
parentice: Use right type for ice_cfg_vsi_lan return (diff)
downloadkernel-qcow2-linux-092a33d403120594e71dbcba4d72d99de7bb897a.tar.gz
kernel-qcow2-linux-092a33d403120594e71dbcba4d72d99de7bb897a.tar.xz
kernel-qcow2-linux-092a33d403120594e71dbcba4d72d99de7bb897a.zip
ice: Cleanup ice_update_link_info
Do not allocate memory for the Get PHY Abilities command data buffer when it is not necessary, change one local variable to another to reduce the number of de-references, reduce the scope of some local variables, and reorder the code and change exit points to get rid of an unnecessary goto label. Signed-off-by: Bruce Allan <bruce.w.allan@intel.com> Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_dcb.h')
0 files changed, 0 insertions, 0 deletions