]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: Fix inverted test for multiple CPU interface
authorAndrew Lunn <andrew@lunn.ch>
Sun, 22 Jan 2017 21:16:45 +0000 (22:16 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Jan 2017 18:33:50 +0000 (13:33 -0500)
commita8936c7c105eaeadd6cc73434593f5b8b20ad060
tree6dde7aa8fc403eca4c3a99ad879573b084cdf894
parent02e9e8577adaa0a24af088e848d11482906a4e59
net: dsa: Fix inverted test for multiple CPU interface

Remove the wrong !, otherwise we get false positives about having
multiple CPU interfaces.

Fixes: bf5d599bcb4b ("net: dsa: store CPU switch structure in the tree")
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/dsa.c