commit | 5447d78623da2eded06d4cd9469d1a71eba43bc4 | [log] [tgz] |
---|---|---|
author | Florian Fainelli <f.fainelli@gmail.com> | Thu May 17 16:55:39 2018 -0700 |
committer | David S. Miller <davem@davemloft.net> | Fri May 18 12:08:25 2018 -0400 |
tree | 9592be73df93dd131eb22ca88355861626549d6a | |
parent | 6358d49ac23995fdfe157cc8747ab0f274d3954b [diff] |
net: dsa: Do not register devlink for unused ports Even if commit 1d27732f411d ("net: dsa: setup and teardown ports") indicated that registering a devlink instance for unused ports is not a problem, and this is true, this can be confusing nonetheless, so let's not do it. Fixes: 1d27732f411d ("net: dsa: setup and teardown ports") Reported-by: Jiri Pirko <jiri@resnulli.us> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>