commit | 6724fa803d75648805b7b42aa513a24b85cfdb9a | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sat Oct 19 09:21:46 2024 -0600 |
committer | Simon Glass <sjg@chromium.org> | Sat Nov 02 11:13:59 2024 -0600 |
tree | a01d9b96bd88ea76aa1f4e7c253ae02eea12d50d | |
parent | 8fbacd5bd02c3582e37ffa2924b3f372f9a80410 [diff] |
alist: Add a function to empty the list Sometimes it is useful to empty the list without de-allocating any of the memory used, e.g. when the list will be re-populated immediately afterwards. Add a new function for this. Signed-off-by: Simon Glass <sjg@chromium.org>