diff options
| author | Bruce Allan <[email protected]> | 2019-04-16 10:34:54 -0700 |
|---|---|---|
| committer | Jeff Kirsher <[email protected]> | 2019-05-29 23:07:22 -0700 |
| commit | 092a33d403120594e71dbcba4d72d99de7bb897a (patch) | |
| tree | 947f4dc39c100773136c75be4d96ab5fd555767c /drivers/net/ethernet/intel/ice/ice_adminq_cmd.h | |
| parent | d31530e83e6325fa05b9f12f58df32826444e843 (diff) | |
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 <[email protected]>
Signed-off-by: Anirudh Venkataramanan <[email protected]>
Tested-by: Andrew Bowers <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_adminq_cmd.h')
0 files changed, 0 insertions, 0 deletions