Thread (5 messages) 5 messages, 4 authors, 2016-09-09

Re: ath9k: remove repetitions of mask array size

From: Kalle Valo <hidden>
Date: 2016-09-09 12:12:48

Bob Copeland [off-list ref] 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@bobcopeland.com>
Reviewed-by: Oleksij Rempel <redacted>
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/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help