diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2018-05-17 16:55:39 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-05-18 12:08:25 -0400 |
commit | 5447d78623da2eded06d4cd9469d1a71eba43bc4 (patch) | |
tree | 9592be73df93dd131eb22ca88355861626549d6a /drivers/net/ethernet/renesas/sh_eth.h | |
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>
Diffstat (limited to 'drivers/net/ethernet/renesas/sh_eth.h')
0 files changed, 0 insertions, 0 deletions