Re: [PATCH] wl18xx: Fix Wunused-const-variable
From: Nick Desaulniers
Date: Fri Jun 14 2019 - 17:02:34 EST
On Fri, Jun 14, 2019 at 1:54 PM Nick Desaulniers
<ndesaulniers@xxxxxxxxxx> wrote:
> Looking at drivers/net/wireless/ti/wl18xx/main.c, there 4 globally
> declared `struct ieee80211_iface_limit` but as your patch notes, only
> 2 are used. The thing is, their uses are in a `struct
> ieee80211_iface_limit []`.
Sorry, that's not quite right; it's not a `struct
ieee80211_iface_limit []` but a `struct ieee80211_iface_combination
[]`. No idea what other values we'd put to add these limits to the
array.
--
Thanks,
~Nick Desaulniers