From 2628d40899d1acb5120993bef651595787ddaa8e Mon Sep 17 00:00:00 2001 From: Yue Haibing Date: Fri, 28 Jul 2023 21:21:13 +0800 Subject: [PATCH] devlink: Remove unused extern declaration devlink_port_region_destroy() devlink_port_region_destroy() is never implemented since commit 544e7c33ec2f ("net: devlink: Add support for port regions"). Signed-off-by: Yue Haibing Reviewed-by: Simon Horman Link: https://lore.kernel.org/r/20230728132113.32888-1-yuehaibing@huawei.com Signed-off-by: Jakub Kicinski --- include/net/devlink.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/net/devlink.h b/include/net/devlink.h index 0cdb4b16e5b5..a1a8e1b6e7df 100644 --- a/include/net/devlink.h +++ b/include/net/devlink.h @@ -1790,8 +1790,6 @@ devlink_port_region_create(struct devlink_port *port, u32 region_max_snapshots, u64 region_size); void devl_region_destroy(struct devlink_region *region); void devlink_region_destroy(struct devlink_region *region); -void devlink_port_region_destroy(struct devlink_region *region); - int devlink_region_snapshot_id_get(struct devlink *devlink, u32 *id); void devlink_region_snapshot_id_put(struct devlink *devlink, u32 id); int devlink_region_snapshot_create(struct devlink_region *region,