]> git.baikalelectronics.ru Git - kernel.git/commit
staging: rtl8188eu: make some arrays static const
authorMichael Straube <straube.linux@gmail.com>
Sun, 24 May 2020 10:15:14 +0000 (12:15 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 May 2020 08:16:34 +0000 (10:16 +0200)
commit35e6e1214603c2beeb92648c1f47887e7ed799eb
treee23932d54fc1afb8a2c7ea44def8ed33c070585f
parentc2094f61a499f690dcab3710696522dbb58cb285
staging: rtl8188eu: make some arrays static const

Make some arrays in phy_iq_calibrate() static const and adjust
the functions that take these arrays as parameters accordingly.
Reduces object file size by 84 bytes (GCC 9.3.1 x86_64).

Suggested-by: Joe Perches <joe@perches.com>
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20200524101514.20557-2-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/hal/phy.c