summaryrefslogtreecommitdiff
path: root/net/mac80211/mesh_hwmp.c
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2020-07-12 20:35:39 +0300
committerJohannes Berg <johannes.berg@intel.com>2020-07-31 10:24:23 +0300
commit8328685682965cbf9348f6f85cadc8c0598771d9 (patch)
tree8547e96000675752bfd3bc673e1666d728925367 /net/mac80211/mesh_hwmp.c
parentdec4ca931244632eeca46f406b2ce7f5a1fe723f (diff)
downloadlinux-8328685682965cbf9348f6f85cadc8c0598771d9.tar.xz
nl80211: Remove a misleading label in 'nl80211_trigger_scan()'
Since commit 5fe231e87372 ("cfg80211: vastly simplify locking"), the 'unlock' label at the end of 'nl80211_trigger_scan()' is useless and misleading, because nothing is unlocked there. Direct return can be used instead of 'err = -<error code>; goto unlock;' construction. Remove this label and simplify code accordingly. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Link: https://lore.kernel.org/r/20200712173539.274395-1-christophe.jaillet@wanadoo.fr Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/mesh_hwmp.c')
0 files changed, 0 insertions, 0 deletions