Commit 49708e37 authored by Dan Carpenter's avatar Dan Carpenter Committed by Johannes Berg

mac80211: silence an uninitialized variable warning

We normally return an uninitialized value, but no one checks it so it
doesn't matter.  Anyway, let's silence the static checker warning.
Signed-off-by: default avatarDan Carpenter <>
Signed-off-by: default avatarJohannes Berg <>
parent e98e915e
...@@ -1747,6 +1747,7 @@ ieee80211_process_tdls_channel_switch_resp(struct ieee80211_sub_if_data *sdata, ...@@ -1747,6 +1747,7 @@ ieee80211_process_tdls_channel_switch_resp(struct ieee80211_sub_if_data *sdata,
goto out; goto out;
} }
ret = 0;
call_drv: call_drv:
drv_tdls_recv_channel_switch(sdata->local, sdata, &params); drv_tdls_recv_channel_switch(sdata->local, sdata, &params);
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