OSDN Git Service

mlxsw: Remove ndo_get_port_parent_id implementation
authorJiri Pirko <jiri@mellanox.com>
Wed, 3 Apr 2019 12:24:19 +0000 (14:24 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 5 Apr 2019 00:42:36 +0000 (17:42 -0700)
commitaef36b88229a6e5ea4f23d19e8b5c72cf1261f18
tree0df6004d3bf51cc51134594275373fa0daf8cc4f
parentcdf29f4a262527feb11cd0071f0b3cedceaba745
mlxsw: Remove ndo_get_port_parent_id implementation

Remove implementation of get_port_parent_id ndo and rely on core calling
into devlink for the information directly.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/minimal.c
drivers/net/ethernet/mellanox/mlxsw/spectrum.c
drivers/net/ethernet/mellanox/mlxsw/switchx2.c