diff options
author | Sasha Neftin <sasha.neftin@intel.com> | 2021-04-12 17:41:07 +0300 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2021-06-04 09:14:16 -0700 |
commit | 220ef1f97ec19894b121f40012031c405ffc388c (patch) | |
tree | 482fb969304a2534d78760cfb978a5138f7ca7c8 /drivers/net/ethernet/intel/igc/igc_ptp.c | |
parent | ebbf5fcb94a7f3499747b282420a1c5f7e8d1c6f (diff) |
igc: Update driver to use ethtool_sprintf
Complete to commit c8d4725e985d ("intel: Update drivers to use
ethtool_sprintf")
Update the igc driver to make use of ethtool_sprintf. The general idea
is to reduce code size and overhead by replacing the repeated pattern of
string printf statements and ETH_STRING_LEN counter increments.
Suggested-by: Alexander Duyck <alexanderduyck@fb.com>
Signed-off-by: Sasha Neftin <sasha.neftin@intel.com>
Tested-by: Dvora Fuxbrumer <dvorax.fuxbrumer@linux.intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_ptp.c')
0 files changed, 0 insertions, 0 deletions