aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/igc/igc_ethtool.c
diff options
context:
space:
mode:
authorJason Yan <yanaijie@huawei.com>2020-05-07 19:09:15 +0800
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2020-05-28 20:04:01 -0700
commit49c65e95f331201d431386dcb7c652bf02b306d1 (patch)
treece191665b67beae5f3a13f3073c572747b5903e5 /drivers/net/ethernet/intel/igc/igc_ethtool.c
parentf2d9f294120fddec48e38e50d420c1d0a247661d (diff)
igb: make igb_set_fc_watermarks() return void
This function always return 0 now, we can make it return void to simplify the code. This fixes the following coccicheck warning: drivers/net/ethernet/intel/igb/e1000_mac.c:728:5-12: Unneeded variable: "ret_val". Return "0" on line 751 Signed-off-by: Jason Yan <yanaijie@huawei.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_ethtool.c')
0 files changed, 0 insertions, 0 deletions