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)
commitbed6d200f8ca38e1ecbdd8fb7e0564884002abd1
treedf04053437796f1af26dbcfc91cfa0bebe52c3e2
parent194193dd06848c1839d928090cb2032eec8b2f9c
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