[PATCH net-next 1/3] cxgb3: Remove unused declarations

Yue Haibing posted 3 patches 1 year, 5 months ago
There is a newer version of this series
[PATCH net-next 1/3] cxgb3: Remove unused declarations
Posted by Yue Haibing 1 year, 5 months ago
Commit 4d22de3e6cc4 ("Add support for the latest 1G/10G Chelsio adapter,
T3.") declared but never implemented these.

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
---
 drivers/net/ethernet/chelsio/cxgb3/cxgb3_defs.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/net/ethernet/chelsio/cxgb3/cxgb3_defs.h b/drivers/net/ethernet/chelsio/cxgb3/cxgb3_defs.h
index f04e81f33795..a08fc762a438 100644
--- a/drivers/net/ethernet/chelsio/cxgb3/cxgb3_defs.h
+++ b/drivers/net/ethernet/chelsio/cxgb3/cxgb3_defs.h
@@ -106,6 +106,4 @@ static inline struct t3c_tid_entry *lookup_atid(const struct tid_info *t,
 	return &e->t3c_tid;
 }
 
-int attach_t3cdev(struct t3cdev *dev);
-void detach_t3cdev(struct t3cdev *dev);
 #endif
-- 
2.34.1
Re: [PATCH net-next 1/3] cxgb3: Remove unused declarations
Posted by Simon Horman 1 year, 5 months ago
On Thu, Aug 29, 2024 at 08:37:05PM +0800, Yue Haibing wrote:
> Commit 4d22de3e6cc4 ("Add support for the latest 1G/10G Chelsio adapter,
> T3.") declared but never implemented these.
> 
> Signed-off-by: Yue Haibing <yuehaibing@huawei.com>

Thanks, I agree with your analysis.

Reviewed-by: Simon Horman <horms@kernel.org>