From: Andre Heider Date: Wed, 23 Nov 2022 13:40:24 +0000 (+0100) Subject: fix -Wreturn-type warning X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=4aa6c5a45cde865e6fc0a31f38aa151bdf73f448;p=project%2Fiwinfo.git fix -Wreturn-type warning The function doesn't return anything nor does any caller expect anything. Signed-off-by: Andre Heider --- diff --git a/iwinfo_nl80211.c b/iwinfo_nl80211.c index c17aaa2..f852ed1 100644 --- 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)