Re: [PATCH] rtlwifi: rtl8821ae: make array static const and remove redundant assignment

2019-09-13 Thread Kalle Valo
Colin King wrote: > From: Colin Ian King > > The array channel_all can be make static const rather than populating > it on the stack, this makes the code smaller. Also, variable place > is being initialized with a value that is never read, so this assignment > is redundant and can be removed.

[PATCH] rtlwifi: rtl8821ae: make array static const and remove redundant assignment

2019-09-05 Thread Colin King
From: Colin Ian King The array channel_all can be make static const rather than populating it on the stack, this makes the code smaller. Also, variable place is being initialized with a value that is never read, so this assignment is redundant and can be removed. Before: textdata bss