commit | 70f5f17415a257ce8d5f32df5b40194b89a27960 | [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 | 83bc5989fc5f71e2c40d75ea786ccbf937b9fbab [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>