Revert "net: dsa: Implement ndo_get_phys_port_id"
authorFlorian Fainelli <f.fainelli@gmail.com>
Tue, 10 Jan 2017 20:32:37 +0000 (12:32 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Jan 2017 14:55:54 +0000 (09:55 -0500)
commit592050b2541407d033da18226d3644644832d082
tree1542cf5e37bead38173a2e17b7fa26072c6be706
parent44bb765cf07ab6622e6fdf4bce546b43bd20faee
Revert "net: dsa: Implement ndo_get_phys_port_id"

This reverts commit 3a543ef479868e36c95935de320608a7e41466ca ("net: dsa:
Implement ndo_get_phys_port_id") since it misuses the purpose of
ndo_get_phys_port_id(). We have ndo_get_phys_port_name() to do the
correct thing for us now.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/slave.c