]> git.baikalelectronics.ru Git - kernel.git/commit
brcmfmac: make the read-only array pktflags static const
authorColin Ian King <colin.i.king@gmail.com>
Mon, 7 Mar 2022 22:32:27 +0000 (22:32 +0000)
committerKalle Valo <kvalo@kernel.org>
Thu, 10 Mar 2022 16:18:58 +0000 (18:18 +0200)
commitf5f2f02b9a665bb88f289b2d39c4591bd860bc3a
tree10d84951307b73dd7092942a26a59bf0f3d62647
parent29ec61e9730e278e802e2a59737700faffc0ae5f
brcmfmac: make the read-only array pktflags static const

Don't populate the read-only array pktflags 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>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220307223227.165963-1-colin.i.king@gmail.com
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c