fix -Wreturn-type warning

The function doesn't return anything nor does any caller expect
anything.

Signed-off-by: Andre Heider <a.heider@gmail.com>
This commit is contained in:
Andre Heider 2022-11-23 14:40:24 +01:00 committed by Jo-Philipp Wich
parent 311272660d
commit 4aa6c5a45c

View file

@ -3052,7 +3052,7 @@ struct nl80211_modes
uint16_t he_phy_cap[6]; 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 */ /* Treat any nonzero capability as 11n */
if (m->nl_ht > 0) if (m->nl_ht > 0)