Commit 7df24b3a authored by Johannes Berg's avatar Johannes Berg Committed by Greg Kroah-Hartman
Browse files

wifi: mac80211: clean up 'ret' in sta_link_apply_parameters()



[ Upstream commit 642508a4 ]

There's no need to have the always-zero ret variable in
the function scope, move it into the inner scope only.

Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
Signed-off-by: default avatarMiri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://msgid.link/20240605135233.eb7a24632d98.I72d7fe1da89d4b89bcfd0f5fb9057e3e69355cfe@changeid


Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
Stable-dep-of: 819e0f1e ("wifi: mac80211: fix station NSS capability initialization order")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 29e640ae
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment