diff options
| author | Martin Kaiser <martin@kaiser.cx> | 2023-01-23 21:53:24 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-01-27 10:10:35 +0100 |
| commit | 36b7dd48b3aaacc28dded0e88a2a4d02e09be870 (patch) | |
| tree | df791b0d9baa34312a23c9810d8e68b58564cc48 /tools/perf/scripts/python | |
| parent | staging: r8188eu: remove struct intf_priv (diff) | |
| download | linux-36b7dd48b3aaacc28dded0e88a2a4d02e09be870.tar.gz linux-36b7dd48b3aaacc28dded0e88a2a4d02e09be870.zip | |
staging: r8188eu: simplify the sta loop in rtw_dequeue_xframe
Use list_for_each_entry_safe to iterate over the station entries in
function rtw_dequeue_xframe instead of coding the loop manually.
We have to use the safe version, the loop body may remove a station from
the list over which we iterate.
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150
Link: https://lore.kernel.org/r/20230123205342.229589-6-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
