Search Linux Wireless

Re: [PATCH] ath11k: Fix 'unused-but-set-parameter' error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Seevalamuthu Mariappan <quic_seevalam@xxxxxxxxxxx> wrote:

> Below compilation error is reported when built with W=1,
> 
> drivers/net/wireless/ath/ath11k/mac.c:5408:22: error: parameter 'changed_flags' set but not used [-Werror,-Wunused-but-set-parameter]
> 
> changed_flags is set, but left unused. So, remove unnecessary set.
> Compile tested only.
> 
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
> Signed-off-by: Seevalamuthu Mariappan <quic_seevalam@xxxxxxxxxxx>
> Signed-off-by: Kalle Valo <kvalo@xxxxxxxxxxxxxx>

Patch applied to ath-next branch of ath.git, thanks.

624e0a317030 ath11k: Fix 'unused-but-set-parameter' error

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/1636609967-5114-1-git-send-email-quic_seevalam@xxxxxxxxxxx/

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




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux