projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e98e915
)
mac80211: silence an uninitialized variable warning
author
Dan Carpenter
<dan.carpenter@oracle.com>
Mon, 27 Jun 2016 14:31:18 +0000
(17:31 +0300)
committer
Johannes Berg
<johannes@sipsolutions.net>
Thu, 30 Jun 2016 10:06:19 +0000
(12:06 +0200)
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>
net/mac80211/tdls.c
patch
|
blob
|
blame
|
history
diff --git
a/net/mac80211/tdls.c
b/net/mac80211/tdls.c
index 1c7d45a6d93ec3be6bf266410f327cc64c4ce358..b5d28f14b9cff950e6896b7fb6df710d5a3b7c20 100644
(file)
--- a/
net/mac80211/tdls.c
+++ b/
net/mac80211/tdls.c
@@
-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, ¶ms);