]> git.baikalelectronics.ru Git - kernel.git/commit
staging: rtl8192u: make read-only array EWC11NHTCap static const
authorColin Ian King <colin.i.king@gmail.com>
Thu, 14 Apr 2022 10:36:50 +0000 (11:36 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 14 Apr 2022 16:21:55 +0000 (18:21 +0200)
commitc0f036a01da232f38a7c479ec281a5814af8811f
treedf04053437796f1af26dbcfc91cfa0bebe52c3e2
parent7b13a79b2c1c0aa222f8fc3a8e2bd27c07a180a8
staging: rtl8192u: make read-only array EWC11NHTCap static const

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

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Link: https://lore.kernel.org/r/20220414103650.297396-1-colin.i.king@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c