diff options
author | Przemek Kitszel <przemyslaw.kitszel@intel.com> | 2023-07-31 11:01:52 -0400 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2023-08-17 13:59:46 -0700 |
commit | 52da2fb2693a7525fc3a0474978b4441ee272492 (patch) | |
tree | c627c4033aca84496a1e6d6a7ed29d53fcd376a1 /drivers/net/ethernet/intel/ice/ice_main.c | |
parent | 1533b7743d35dc88808291b7f552697c8ee87f22 (diff) |
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 <przemyslaw.kitszel@intel.com>
Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pucha@intel.com> (A Contingent worker at Intel)
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_main.c')
0 files changed, 0 insertions, 0 deletions