Re: [PATCH net-next v3 04/10] net: dsa: Move ports assignment closer to error checking

2017-01-15 Thread Sergei Shtylyov
Hello! On 1/15/2017 12:47 AM, Florian Fainelli wrote: Move the assignment of ports in _dsa_register_switch() closer to where it is checked, no functional change. Re-order declarations to be "Be" not needed. preserve the inverted christmas tree style. Signed-off-by: Florian Fainelli

[PATCH net-next v3 04/10] net: dsa: Move ports assignment closer to error checking

2017-01-14 Thread Florian Fainelli
Move the assignment of ports in _dsa_register_switch() closer to where it is checked, no functional change. Re-order declarations to be preserve the inverted christmas tree style. Signed-off-by: Florian Fainelli --- net/dsa/dsa2.c | 3 ++- 1 file changed, 2 insertions(+),