Skip to content

Commit

Permalink
mac80211: silence an uninitialized variable warning
Browse files Browse the repository at this point in the history
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: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
  • Loading branch information
Dan Carpenter authored and Johannes Berg committed Jun 30, 2016
1 parent e98e915 commit 49708e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions net/mac80211/tdls.c
Original file line number Diff line number Diff line change
Expand Up @@ -1747,6 +1747,7 @@ ieee80211_process_tdls_channel_switch_resp(struct ieee80211_sub_if_data *sdata,
goto out;
}

ret = 0;
call_drv:
drv_tdls_recv_channel_switch(sdata->local, sdata, &params);

Expand Down

0 comments on commit 49708e3

Please sign in to comment.