aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_main.c
diff options
context:
space:
mode:
authorPrzemek Kitszel <[email protected]>2023-07-31 15:01:52 +0000
committerTony Nguyen <[email protected]>2023-08-17 20:59:46 +0000
commit52da2fb2693a7525fc3a0474978b4441ee272492 (patch)
treec627c4033aca84496a1e6d6a7ed29d53fcd376a1 /drivers/net/ethernet/intel/ice/ice_main.c
parentice: use list_for_each_entry() helper (diff)
downloadkernel-52da2fb2693a7525fc3a0474978b4441ee272492.tar.gz
kernel-52da2fb2693a7525fc3a0474978b4441ee272492.zip
ice: drop two params from ice_aq_alloc_free_res()
Drop @num_entries and @cd params, latter of which was always NULL. Number of entities to alloc is passed in internal buffer, the outer layer (that @num_entries was assigned to) meaning is closer to "the number of requests", which was =1 in all cases. ice_free_hw_res() was always called with 1 as its @num arg. Signed-off-by: Przemek Kitszel <[email protected]> Tested-by: Pucha Himasekhar Reddy <[email protected]> (A Contingent worker at Intel) Reviewed-by: Leon Romanovsky <[email protected]> Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_main.c')
0 files changed, 0 insertions, 0 deletions