diff options
author | Jason Yan <[email protected]> | 2020-05-07 19:09:15 +0800 |
---|---|---|
committer | Jeff Kirsher <[email protected]> | 2020-05-28 20:04:01 -0700 |
commit | 49c65e95f331201d431386dcb7c652bf02b306d1 (patch) | |
tree | ce191665b67beae5f3a13f3073c572747b5903e5 /tools/perf/scripts/python/powerpc-hcalls.py | |
parent | f2d9f294120fddec48e38e50d420c1d0a247661d (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 <[email protected]>
Tested-by: Aaron Brown <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/powerpc-hcalls.py')
0 files changed, 0 insertions, 0 deletions