projects
/
project
/
iwinfo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3112726
)
fix -Wreturn-type warning
author
Andre Heider
<a.heider@gmail.com>
Wed, 23 Nov 2022 13:40:24 +0000
(14:40 +0100)
committer
Jo-Philipp Wich
<jo@mein.io>
Thu, 15 Dec 2022 19:07:49 +0000
(20:07 +0100)
The function doesn't return anything nor does any caller expect
anything.
Signed-off-by: Andre Heider <a.heider@gmail.com>
iwinfo_nl80211.c
patch
|
blob
|
history
diff --git
a/iwinfo_nl80211.c
b/iwinfo_nl80211.c
index c17aaa2f9f70f4fb8364624c6534eed2ff5bfcde..f852ed1c5141827ff8978910f29d3e6d42d1e658 100644
(file)
--- a/
iwinfo_nl80211.c
+++ b/
iwinfo_nl80211.c
@@
-3052,7
+3052,7
@@
struct nl80211_modes
uint16_t he_phy_cap[6];
};
-static
int
nl80211_eval_modelist(struct nl80211_modes *m)
+static
void
nl80211_eval_modelist(struct nl80211_modes *m)
{
/* Treat any nonzero capability as 11n */
if (m->nl_ht > 0)