Remove a duplicate rtnl_unlock(). Signed-off-by: tim.gardner@xxxxxxxxxx --- diff --git a/net/mac80211/ieee80211.c b/net/mac80211/ieee80211.c index b5a62b7..cf3d020 100644 --- a/net/mac80211/ieee80211.c +++ b/net/mac80211/ieee80211.c @@ -4816,7 +4816,6 @@ int ieee80211_register_hw(struct ieee80211_hw *hw) rtnl_lock(); result = dev_alloc_name(local->mdev, local->mdev->name); if (result < 0) { - rtnl_unlock(); goto fail_dev; } -- Tim Gardner tim.gardner@xxxxxxxxxx
Remove a duplicate rtnl_unlock(). Signed-off-by: tim.gardner@xxxxxxxxxx --- diff --git a/net/mac80211/ieee80211.c b/net/mac80211/ieee80211.c index b5a62b7..cf3d020 100644 --- a/net/mac80211/ieee80211.c +++ b/net/mac80211/ieee80211.c @@ -4816,7 +4816,6 @@ int ieee80211_register_hw(struct ieee80211_hw *hw) rtnl_lock(); result = dev_alloc_name(local->mdev, local->mdev->name); if (result < 0) { - rtnl_unlock(); goto fail_dev; }