[lvc-project] [PATCH] wifi: brcmsmac: clean up unnecessary current_ampdu_cnt and related checks

Arend Van Spriel arend.vanspriel at broadcom.com
Fri Aug 2 09:15:35 MSK 2024


On August 1, 2024 12:15:35 PM Dmitry Kandybka <d.kandybka at gmail.com> wrote:

> In 'brcms_c_ffpld_check_txfunfl()', 'current_ampdu_cnt' is hardcoded to
> zero, so 'txunfl_ratio' is always zero as well and some dead code can be
> removed. Compile tested only.
>
> Found by Linux Verification Center (linuxtesting.org) with SVACE.

Acked-by: Arend van Spriel <arend.vanspriel at broadcom.com>
> Signed-off-by: Dmitry Kandybka <d.kandybka at gmail.com>
> ---
> .../broadcom/brcm80211/brcmsmac/ampdu.c       | 22 +------------------
> 1 file changed, 1 insertion(+), 21 deletions(-)






More information about the lvc-project mailing list