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)
commit23e3d618e49eb560052fe59a3c9629d3650ba46e
tree6dde7aa8fc403eca4c3a99ad879573b084cdf894
parent6db6f0eae6052b70885562e1733896647ec1d807
net: dsa: Fix inverted test for multiple CPU interface

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

Fixes: b22de490869d ("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