aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorAndre Guedes <[email protected]>2020-03-18 16:00:53 -0700
committerJeff Kirsher <[email protected]>2020-04-19 11:46:47 -0700
commit58184b8ff0786b219772016a50ce07c6b3020846 (patch)
treeb53943b0771e52b90f98b2d78b40b0b385e80a29 /tools/perf/scripts/python/sched-migration.py
parent23b7b511675669702ad32bf7f92dcf2ae05015ba (diff)
igc: Change igc_add_mac_filter() returning value
In case of success, igc_add_mac_filter() returns the index in adapter->mac_table where the requested filter was added. This information, however, is not used by any caller of that function. In fact, callers have extra code just to handle this returning index as 0 (success). So this patch changes the function to return 0 on success instead, and cleans up the extra code. Signed-off-by: Andre Guedes <[email protected]> Tested-by: Aaron Brown <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions