bnxt: remove ndo_get_port_parent_id implementation for physical ports
authorJiri Pirko <jiri@mellanox.com>
Wed, 3 Apr 2019 12:24:22 +0000 (14:24 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 5 Apr 2019 00:42:36 +0000 (17:42 -0700)
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/broadcom/bnxt/bnxt.c

index 6131b996370908b04cd4a095b510e11c52bfe70f..4feac114b779124b30eb2029f670b3970216e18d 100644 (file)
@@ -10104,7 +10104,6 @@ static const struct net_device_ops bnxt_netdev_ops = {
        .ndo_bpf                = bnxt_xdp,
        .ndo_bridge_getlink     = bnxt_bridge_getlink,
        .ndo_bridge_setlink     = bnxt_bridge_setlink,
-       .ndo_get_port_parent_id = bnxt_get_port_parent_id,
        .ndo_get_devlink_port   = bnxt_get_devlink_port,
 };