diff options
| author | 2016-06-06 15:23:06 +0200 | |
|---|---|---|
| committer | 2016-08-15 19:17:03 +0200 | |
| commit | db5a48d595cfd27ba66625558d982205b46d11fd (patch) | |
| tree | 354734249602dd4cb34b7214de2ba89726689133 /scripts | |
| parent | staging: most: v4l2-aim: fix interrupt unsafe spinlocks (diff) | |
staging: most: v4l2-aim: optimize list_for_each_entry_safe
As the function get_aim_dev() does not delete elements of the list, the
use of macro list_for_each_entry_safe is not necessary.
This patch replaces the macro list_for_each_entry_safe with the macro
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 'scripts')
0 files changed, 0 insertions, 0 deletions
