staging: most: use unsafe version of list traversing
authorAndrey Shvetsov <andrey.shvetsov@k2l.de>
Fri, 12 May 2017 10:59:55 +0000 (12:59 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 15 May 2017 09:59:09 +0000 (11:59 +0200)
commiteec3546cb92a5dbb84e817692d306a5db6e6f416
tree930bcf312344b936b11b556701ca056bfdea67cc
parentd35bbfaa4a4fe17abccf54c67a1861a362ed0b52
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>
drivers/staging/most/aim-network/networking.c