Skip to content
Commit d82a6c5e authored by Colin Ian King's avatar Colin Ian King Committed by Jakub Kicinski
Browse files

net: prestera: acl: make read-only array client_map static const



Don't populate the read-only array client_map  on the stack but
instead make it static const. Also makes the object code a little
smaller.

Signed-off-by: default avatarColin Ian King <colin.i.king@gmail.com>
Link: https://lore.kernel.org/r/20220307221349.164585-1-colin.i.king@gmail.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 4587369b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment