Commit d14e1c71 authored by Alexander Aring's avatar Alexander Aring Committed by Marcel Holtmann

mac820154: rename sdata next to tmp

This patch is just a cleanup to name the temporary variable for
protected list for each loop as tmp.
Signed-off-by: default avatarAlexander Aring <alex.aring@gmail.com>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent 592dfbfc
...@@ -538,9 +538,9 @@ void ieee802154_if_remove(struct ieee802154_sub_if_data *sdata) ...@@ -538,9 +538,9 @@ void ieee802154_if_remove(struct ieee802154_sub_if_data *sdata)
void ieee802154_remove_interfaces(struct ieee802154_local *local) void ieee802154_remove_interfaces(struct ieee802154_local *local)
{ {
struct ieee802154_sub_if_data *sdata, *next; struct ieee802154_sub_if_data *sdata, *tmp;
list_for_each_entry_safe(sdata, next, &local->interfaces, list) { list_for_each_entry_safe(sdata, tmp, &local->interfaces, list) {
mutex_lock(&sdata->local->iflist_mtx); mutex_lock(&sdata->local->iflist_mtx);
list_del(&sdata->list); list_del(&sdata->list);
mutex_unlock(&sdata->local->iflist_mtx); mutex_unlock(&sdata->local->iflist_mtx);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment