Re: [PATCH v2 2/2] staging: rtl8188eu: make some arrays static const
From: Joe Perches
Date: Sun May 24 2020 - 07:18:01 EST
On Sun, 2020-05-24 at 12:15 +0200, Michael Straube wrote:
> 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).
You could also do drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c
and reduce data by a fair amount there too.
Just change the prototype for _rtl92d_phy_calc_curvindex there.