lkml.org 
[lkml]   [2023]   [Mar]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: wifi: brcmsmac: ampdu: remove unused suc_mpdu variable
From
Date
Tom Rix <trix@redhat.com> wrote:

> clang with W=1 reports
> drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c:848:5: error: variable
> 'suc_mpdu' set but not used [-Werror,-Wunused-but-set-variable]
> u8 suc_mpdu = 0, tot_mpdu = 0;
> ^
> This variable is not used so remove it.
>
> Signed-off-by: Tom Rix <trix@redhat.com>
> Reviewed-by: Simon Horman <simon.horman@corigine.com>

Patch applied to wireless-next.git, thanks.

2f73f04b7f93 wifi: brcmsmac: ampdu: remove unused suc_mpdu variable

--
https://patchwork.kernel.org/project/linux-wireless/patch/20230327151151.1771350-1-trix@redhat.com/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

\
 
 \ /
  Last update: 2023-03-31 16:55    [W:0.093 / U:1.348 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site