Search Linux Wireless

Re: ath9k: remove repetitions of mask array size

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

 



Bob Copeland <me@xxxxxxxxxxxxxxx> wrote:
> The constant "123", which is the number of elements in
> mask_m / mask_p, is repeated several times in this function.
> 
> Replace memsets with array initialization, and replace a loop
> conditional with ARRAY_SIZE() so that we don't repeat ourselves.
> 
> Signed-off-by: Bob Copeland <me@xxxxxxxxxxxxxxx>
> Reviewed-by: Oleksij Rempel <linux@xxxxxxxxxxxxxxxx>

Thanks, 1 patch applied to ath-next branch of ath.git:

b5182e157d3a ath9k: remove repetitions of mask array size

-- 
Sent by pwcli
https://patchwork.kernel.org/patch/8861641/




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

  Powered by Linux