]> git.baikalelectronics.ru Git - kernel.git/commit
staging: rtl8192u: make const array queuetopipe const, reduces object code size
authorColin Ian King <colin.i.king@gmail.com>
Sat, 7 May 2022 18:34:14 +0000 (19:34 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 May 2022 15:40:44 +0000 (17:40 +0200)
commita6aa662032a2810a5494f2d18bcbcb9d4947baf5
treee37e1c44035ddb3ba29f4eefc6266daedd89e65c
parent93f43bcc6b9a8ca72f6105892c5f60ab1672170f
staging: rtl8192u: make const array queuetopipe const, reduces object code size

Don't populate the const array queuetopipe on the stack, instead make it
static.  Also makes the object code smaller.

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