aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAndrey Shvetsov <[email protected]>2017-05-12 12:59:55 +0200
committerGreg Kroah-Hartman <[email protected]>2017-05-15 11:59:09 +0200
commiteec3546cb92a5dbb84e817692d306a5db6e6f416 (patch)
tree930bcf312344b936b11b556701ca056bfdea67cc /tools/perf/scripts/python
parentd35bbfaa4a4fe17abccf54c67a1861a362ed0b52 (diff)
staging: most: use unsafe version of list traversing
The function get_net_dev_context does not remove elements of the list. Hence, list traversing does not need to be secured. This patch replaces list_for_each_entry_safe with the list_for_each_entry. Signed-off-by: Andrey Shvetsov <[email protected]> Signed-off-by: Christian Gromm <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions