cw1200: wsm: make array queue_id_to_wmm_aci static const
authorColin Ian King <colin.i.king@gmail.com>
Sun, 9 Jan 2022 23:09:21 +0000 (23:09 +0000)
committerKalle Valo <kvalo@kernel.org>
Mon, 31 Jan 2022 15:49:17 +0000 (17:49 +0200)
commitfe683faecc7a356f71a56bc16aa2080475828818
tree0b289d68f7648cf72746cafe5ff34813964befb3
parent708db268459f239bbd406fbb7349f536b4709f00
cw1200: wsm: make array queue_id_to_wmm_aci static const

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

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220109230921.58766-1-colin.i.king@gmail.com
drivers/net/wireless/st/cw1200/wsm.c