From: Jiri Pirko Date: Wed, 3 Apr 2019 12:24:22 +0000 (+0200) Subject: bnxt: remove ndo_get_port_parent_id implementation for physical ports X-Git-Tag: v5.4-rc1~1056^2~238^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=56d9f4e8f70e6f47ad4da7640753cf95ae51a356;p=platform%2Fkernel%2Flinux-rpi.git bnxt: remove ndo_get_port_parent_id implementation for physical ports Remove implementation of get_port_parent_id ndo and rely on core calling into devlink for the information directly. Signed-off-by: Jiri Pirko Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/broadcom/bnxt/bnxt.c b/drivers/net/ethernet/broadcom/bnxt/bnxt.c index 6131b9963709..4feac114b779 100644 --- a/drivers/net/ethernet/broadcom/bnxt/bnxt.c +++ b/drivers/net/ethernet/broadcom/bnxt/bnxt.c @@ -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, };