diff options
| author | Andrey Shvetsov <andrey.shvetsov@k2l.de> | 2017-05-12 12:59:55 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-05-15 11:59:09 +0200 |
| commit | eec3546cb92a5dbb84e817692d306a5db6e6f416 (patch) | |
| tree | 930bcf312344b936b11b556701ca056bfdea67cc /include/linux/debugobjects.h | |
| parent | d35bbfaa4a4fe17abccf54c67a1861a362ed0b52 (diff) | |
| download | cachepc-linux-eec3546cb92a5dbb84e817692d306a5db6e6f416.tar.gz cachepc-linux-eec3546cb92a5dbb84e817692d306a5db6e6f416.zip | |
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 <andrey.shvetsov@k2l.de>
Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
