From: Colin King <hidden> Date: 2021-08-19 12:50:25
From: Colin Ian King <redacted>
Don't populate the array fsm_state on the stack but instead it
static const. Makes the object code smaller by 154 bytes:
Before:
text data bss dec hex filename
9213 3904 0 13117 333d .../wireless/rsi/rsi_91x_debugfs.o
After:
text data bss dec hex filename
8995 3968 0 12963 32a3 .../wireless/rsi/rsi_91x_debugfs.o
(gcc version 10.3.0)
Signed-off-by: Colin Ian King <redacted>
---
drivers/net/wireless/rsi/rsi_91x_debugfs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
From: Joe Perches <joe@perches.com> Date: 2021-08-21 06:38:35
On Thu, 2021-08-19 at 13:50 +0100, Colin King wrote:
From: Colin Ian King <redacted>
Don't populate the array fsm_state on the stack but instead it
static const. Makes the object code smaller by 154 bytes:
From: Kalle Valo <hidden> Date: 2021-08-29 08:32:26
Colin King [off-list ref] wrote:
From: Colin Ian King <redacted>
Don't populate the array fsm_state on the stack but instead it
static const. Makes the object code smaller by 154 bytes:
Before:
text data bss dec hex filename
9213 3904 0 13117 333d .../wireless/rsi/rsi_91x_debugfs.o
After:
text data bss dec hex filename
8995 3968 0 12963 32a3 .../wireless/rsi/rsi_91x_debugfs.o
(gcc version 10.3.0)
Signed-off-by: Colin Ian King <redacted>