diff options
author | Martin Kaiser <martin@kaiser.cx> | 2023-01-30 20:52:59 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-01-31 11:16:57 +0100 |
commit | 9cc5265ac8ed52b5d13684dc36947b3d0856add5 (patch) | |
tree | 528b7b82101326092875227aecfd468431a14860 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | f5a894957063918bac8e05850c6e88eae5c93b6e (diff) |
staging: r8188eu: use kernel helper to iterate over a list
rtw_free_xmitframe_list iterates over the list of xmit_frames and frees
each entry. We can use list_for_each_entry_safe instead of coding this
manually. We need the _safe version as the current pxmitframe will be
removed from the list by rtw_free_xmitframe.
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20230130195303.138941-6-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions