diff options
author | Colin Ian King <colin.i.king@gmail.com> | 2022-10-05 18:55:58 +0300 |
---|---|---|
committer | Kalle Valo <quic_kvalo@quicinc.com> | 2022-10-10 12:45:54 +0300 |
commit | e161d4b60ae3a5356e07202e0bfedb5fad82c6aa (patch) | |
tree | 63cbf09ac933a4a4385ad23cb34cc76755fe97f1 /drivers/net/wireless/ath/key.c | |
parent | a797f479bf3e02c6d179c2e6aeace7f9b22b0acd (diff) | |
download | linux-e161d4b60ae3a5356e07202e0bfedb5fad82c6aa.tar.xz |
wifi: ath9k: Make arrays prof_prio and channelmap static const
Don't populate the read-only arrays prof_prio and channelmap
on the stack but instead make them static const. Also makes the
object code a little smaller.
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Acked-by: Toke Høiland-Jørgensen <toke@toke.dk>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20221005155558.320556-1-colin.i.king@gmail.com
Diffstat (limited to 'drivers/net/wireless/ath/key.c')
0 files changed, 0 insertions, 0 deletions