staging: rtl8192e: rtl819x_HTProc: make arrays const and one static
authorColin Ian King <colin.i.king@gmail.com>
Thu, 3 Nov 2022 13:06:19 +0000 (13:06 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 8 Nov 2022 15:26:26 +0000 (16:26 +0100)
commit1d6290639bfce477f71392392436d2aa830bca2e
tree179a594fce633eb03b967bd567f7a7e69b9c13de
parent84415762be0736efe7ed1b26d72a65ef9e0c6e58
staging: rtl8192e: rtl819x_HTProc: make arrays const and one static

Make two dead-only arrays const. Make array EWC11NHTCap static const
so it is not populated on the stack, makes the code smaller too.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/20221103130619.78413-1-colin.i.king@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl819x_HTProc.c