commit | 8407424e14c2a85f8cc062a23c294bedca8cf4f7 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sat Oct 19 09:21:46 2024 -0600 |
committer | Tom Rini <trini@konsulko.com> | Sun Nov 03 21:27:12 2024 -0600 |
tree | 4fb1a792341f6a5b3c636bf79071c64f2a669d6a | |
parent | ce66b8afa71b3c9f1c9879e16af27846880cba7a [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>