aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_lib.c
diff options
context:
space:
mode:
authorPrzemek Kitszel <[email protected]>2023-09-12 11:59:32 +0000
committerJakub Kicinski <[email protected]>2023-10-03 19:17:11 +0000
commitece285af77d00f7f4f9dd311f5cfa866a51c010f (patch)
tree930aa1fe5360836b5f788cae85e06e41bc94cdd4 /drivers/net/ethernet/intel/ice/ice_lib.c
parentoverflow: add DEFINE_FLEX() for on-stack allocs (diff)
downloadkernel-ece285af77d00f7f4f9dd311f5cfa866a51c010f.tar.gz
kernel-ece285af77d00f7f4f9dd311f5cfa866a51c010f.zip
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_lib.c')
0 files changed, 0 insertions, 0 deletions