]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5c77e86657e961629359ba641f69ec745948d1b0
treecd0037c2a00fe015f405128263636c18de5b780d
parent6825da1fdfcd049c3a523479c2999480df1dd16b
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