diff options
author | Colin Ian King <colin.i.king@gmail.com> | 2022-03-07 22:13:49 +0000 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-03-08 22:22:36 -0800 |
commit | d82a6c5ef9dc0aab296936e1aa4ad28fd5162a55 (patch) | |
tree | 27b7be4dd5a623d34975fdfe2065eca6041c1969 /net/switchdev/switchdev.c | |
parent | 4587369b6cba3772b6e92ec3d28854ec7d82a95d (diff) |
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: Colin Ian King <colin.i.king@gmail.com>
Link: https://lore.kernel.org/r/20220307221349.164585-1-colin.i.king@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions