Re: [PATCH v2 2/3] net: macb: Remove CONFIG_OF around DT match table

2017-04-12 Thread Rob Herring
On Tue, Apr 11, 2017 at 11:41 PM, Florian Fainelli wrote: > A subsequent patch is going to make of_match_node() an inline stub when > CONFIG_OF is disabled, which will let the compiler eliminate unused variables. > In order not to clutter the code more, remove the CONFIG_OF

Re: [PATCH v2 2/3] net: macb: Remove CONFIG_OF around DT match table

2017-04-12 Thread Rob Herring
On Tue, Apr 11, 2017 at 11:41 PM, Florian Fainelli wrote: > A subsequent patch is going to make of_match_node() an inline stub when > CONFIG_OF is disabled, which will let the compiler eliminate unused variables. > In order not to clutter the code more, remove the CONFIG_OF #ifdef such that >

[PATCH v2 2/3] net: macb: Remove CONFIG_OF around DT match table

2017-04-11 Thread Florian Fainelli
A subsequent patch is going to make of_match_node() an inline stub when CONFIG_OF is disabled, which will let the compiler eliminate unused variables. In order not to clutter the code more, remove the CONFIG_OF #ifdef such that macb_dt_ids and what it references are always defined. Signed-off-by:

[PATCH v2 2/3] net: macb: Remove CONFIG_OF around DT match table

2017-04-11 Thread Florian Fainelli
A subsequent patch is going to make of_match_node() an inline stub when CONFIG_OF is disabled, which will let the compiler eliminate unused variables. In order not to clutter the code more, remove the CONFIG_OF #ifdef such that macb_dt_ids and what it references are always defined. Signed-off-by: