aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorMichal Swiatkowski <michal.swiatkowski@linux.intel.com>2024-06-27 16:55:44 +0200
committerTony Nguyen <anthony.l.nguyen@intel.com>2024-07-11 08:57:40 -0700
commit589dd7145a8ea6bcc6faa286205e467ba5403f79 (patch)
tree31df74608d4fb2c3d6fa45b7e01675cabd41a2d3 /scripts/generate_rust_analyzer.py
parentice: Simplify bitmap setting in adding recipe (diff)
downloadlinux-rng-589dd7145a8ea6bcc6faa286205e467ba5403f79.tar.xz
linux-rng-589dd7145a8ea6bcc6faa286205e467ba5403f79.zip
ice: remove unused recipe bookkeeping data
Remove root_buf from recipe struct. Its only usage was in ice_find_recp(), where if recipe had an inverse action, it was skipped, but actually the driver never adds inverse actions, so effectively it was pointless. Without root_buf, the recipe data element in ice_add_sw_recipe() does not need to be persistent and can also be automatically deallocated with __free, which nicely simplifies unroll. Signed-off-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com> Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com> Signed-off-by: Marcin Szycik <marcin.szycik@linux.intel.com> Tested-by: Sujai Buvaneswaran <sujai.buvaneswaran@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions