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/