Re: [PATCH] net: stmmac: make const array route_possibilities static

2017-07-13 Thread David Miller
From: Colin King Date: Tue, 11 Jul 2017 12:18:48 +0100 > From: Colin Ian King > > Don't populate array route_possibilities on the stack but make it > static const. Makes the object code a little smaller by 85 bytes: > > Before: >text data bss dec hex filename >990

[PATCH] net: stmmac: make const array route_possibilities static

2017-07-11 Thread Colin King
From: Colin Ian King Don't populate array route_possibilities on the stack but make it static const. Makes the object code a little smaller by 85 bytes: Before: textdata bss dec hex filename 99012448 0 12349303d dwmac4_core.o After: textdata bss