aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/igc/igc_main.c
diff options
context:
space:
mode:
authorAndre Guedes <andre.guedes@intel.com>2020-04-24 13:16:08 -0700
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2020-05-21 16:19:15 -0700
commit876ea04db7675391baa8011795188e55d154aa4e (patch)
tree49359633cdf7c86993f05418e149e2f9bdcf14dd /drivers/net/ethernet/intel/igc/igc_main.c
parentigc: Cleanup _get|set_rxnfc ethtool ops (diff)
downloadlinux-876ea04db7675391baa8011795188e55d154aa4e.tar.gz
linux-876ea04db7675391baa8011795188e55d154aa4e.zip
igc: Early return in igc_get_ethtool_nfc_entry()
This patch re-writes the second half of igc_ethtool_get_nfc_entry() to follow the 'return early' pattern seen in other parts of the driver and removes some duplicate comments. Signed-off-by: Andre Guedes <andre.guedes@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/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions