summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorJiri Pirko <jiri@mellanox.com>2019-03-28 15:56:40 +0300
committerDavid S. Miller <davem@davemloft.net>2019-03-28 22:55:30 +0300
commit14c03ac4c100e4b81ec4747f5ec861701ff52de2 (patch)
tree2fe43193e4840d7be33d2f1e600882cc7aab18a3 /net
parent59a6b35a1cf57e1427a273e30b3998014e02909d (diff)
downloadlinux-14c03ac4c100e4b81ec4747f5ec861701ff52de2.tar.xz
net: devlink: remove unused devlink_port_get_phys_port_name() function
Now it is unused, remove it. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/core/devlink.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/net/core/devlink.c b/net/core/devlink.c
index 8bb2c3e3f202..6bbd07e3861e 100644
--- a/net/core/devlink.c
+++ b/net/core/devlink.c
@@ -5446,13 +5446,6 @@ static int __devlink_port_phys_port_name_get(struct devlink_port *devlink_port,
return 0;
}
-int devlink_port_get_phys_port_name(struct devlink_port *devlink_port,
- char *name, size_t len)
-{
- return __devlink_port_phys_port_name_get(devlink_port, name, len);
-}
-EXPORT_SYMBOL_GPL(devlink_port_get_phys_port_name);
-
int devlink_sb_register(struct devlink *devlink, unsigned int sb_index,
u32 size, u16 ingress_pools_count,
u16 egress_pools_count, u16 ingress_tc_count,