Re: [PATCH net-next 1/2] net: dsa: store CPU switch structure in the tree

From: Florian Fainelli
Date: Wed Jan 18 2017 - 15:35:46 EST


On 01/17/2017 05:41 PM, Vivien Didelot wrote:
> Store a dsa_switch pointer to the CPU switch in the tree instead of only
> its index. This avoids the need to initialize it to -1.
>
> Signed-off-by: Vivien Didelot <vivien.didelot@xxxxxxxxxxxxxxxxxxxx>

Reviewed-by: Florian Fainelli <f.fainelli@xxxxxxxxx>
--
Florian