[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230728132113.32888-1-yuehaibing@huawei.com>
Date: Fri, 28 Jul 2023 21:21:13 +0800
From: Yue Haibing <yuehaibing@...wei.com>
To: <jiri@...nulli.us>, <davem@...emloft.net>, <edumazet@...gle.com>,
<kuba@...nel.org>, <pabeni@...hat.com>
CC: <netdev@...r.kernel.org>, <linux-kernel@...r.kernel.org>, Yue Haibing
<yuehaibing@...wei.com>
Subject: [PATCH net-next] 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 <yuehaibing@...wei.com>
---
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,
--
2.34.1
Powered by blists - more mailing lists