staging: rtl8192u: make array queuetopipe static const
authorColin Ian King <colin.i.king@googlemail.com>
Mon, 29 Nov 2021 22:50:13 +0000 (22:50 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Dec 2021 14:08:50 +0000 (15:08 +0100)
commitf47b40a4fa917e257b598cc2398e618c9f877b86
treecd0037c2a00fe015f405128263636c18de5b780d
parent7988cf07e7bf63a3dc7aee245e8a06a8e0bcb149
staging: rtl8192u: make array queuetopipe static const

 Don't populate the array queuetopipe on the stack but instead make it
static const. Also makes the object code smaller by ~50 bytes.

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