diff options
author | Przemek Kitszel <przemyslaw.kitszel@intel.com> | 2023-09-12 14:59:32 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-10-03 22:17:11 +0300 |
commit | ece285af77d00f7f4f9dd311f5cfa866a51c010f (patch) | |
tree | 930aa1fe5360836b5f788cae85e06e41bc94cdd4 /tools/perf/scripts/python/sched-migration.py | |
parent | 26dd68d293fd1c5ac966fb5dd5f6d89de322a541 (diff) | |
download | linux-ece285af77d00f7f4f9dd311f5cfa866a51c010f.tar.xz |
ice: ice_sched_remove_elems: replace 1 elem array param by u32
Replace array+size params of ice_sched_remove_elems:() by just single u32,
as all callers are using it with "1".
This enables moving from heap-based, to stack-based allocation, what is also
more elegant thanks to DEFINE_FLEX() macro.
Signed-off-by: Przemek Kitszel <przemyslaw.kitszel@intel.com>
Link: https://lore.kernel.org/r/20230912115937.1645707-3-przemyslaw.kitszel@intel.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions