[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190624132236.0736E60F3A@smtp.codeaurora.org>
Date: Mon, 24 Jun 2019 13:22:35 +0000 (UTC)
From: Kalle Valo <kvalo@...eaurora.org>
To: Nathan Huckleberry <nhuck@...gle.com>
Cc: davem@...emloft.net, linux-wireless@...r.kernel.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
Nathan Huckleberry <nhuck@...gle.com>,
clang-built-linux@...glegroups.com
Subject: Re: [PATCH] wl18xx: Fix Wunused-const-variable
Nathan Huckleberry <nhuck@...gle.com> wrote:
> Clang produces the following warning
>
> drivers/net/wireless/ti/wl18xx/main.c:1850:43: warning: unused variable
> 'wl18xx_iface_ap_cl_limits' [-Wunused-const-variable] static const struct
> ieee80211_iface_limit wl18xx_iface_ap_cl_limits[] = { ^
> drivers/net/wireless/ti/wl18xx/main.c:1869:43: warning: unused variable
> 'wl18xx_iface_ap_go_limits' [-Wunused-const-variable] static const struct
> ieee80211_iface_limit wl18xx_iface_ap_go_limits[] = { ^
>
> The commit that added these variables never used them. Removing them.
>
> Cc: clang-built-linux@...glegroups.com
> Link: https://github.com/ClangBuiltLinux/linux/issues/530
> Signed-off-by: Nathan Huckleberry <nhuck@...gle.com>
> Reviewed-by: Nick Desaulniers <ndesaulniers@...gle.com>
Patch applied to wireless-drivers.git, thanks.
608fd7214323 wl18xx: Fix Wunused-const-variable
--
https://patchwork.kernel.org/patch/10996073/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists