fakelb: use list_for_each_entry_safe
authorAlexander Aring <alex.aring@gmail.com>
Sun, 17 May 2015 19:44:59 +0000 (21:44 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 19 May 2015 09:44:45 +0000 (11:44 +0200)
commit3186d3d7aec3b2f242abbc0a0219226e7705c905
treed2901dc705ba9949c1c70fdddf0e1cc1d4ccf3a2
parent7e57905ba6c825f38f146b5f8974c2ce27f299bb
fakelb: use list_for_each_entry_safe

Iterate and removing items from a list, we should use
list_for_each_entry_safe instead list_for_each_entry to avoid accidents
by removing.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/net/ieee802154/fakelb.c