diff mbox series

[net-next,3/3] cxgb: Remove unused declarations

Message ID 20240829123707.2276148-4-yuehaibing@huawei.com (mailing list archive)
State Superseded
Delegated to: Netdev Maintainers
Headers show
Series cleanup chelsio driver declarations | expand

Checks

Context Check Description
netdev/series_format success Posting correctly formatted
netdev/tree_selection success Clearly marked for net-next
netdev/ynl success Generated files up to date; no warnings/errors; no diff in generated;
netdev/fixes_present success Fixes tag not required for -next series
netdev/header_inline success No static functions without inline keyword in header files
netdev/build_32bit success Errors and warnings before: 16 this patch: 16
netdev/build_tools success No tools touched, skip
netdev/cc_maintainers success CCed 5 of 5 maintainers
netdev/build_clang success Errors and warnings before: 16 this patch: 16
netdev/verify_signedoff success Signed-off-by tag matches author and committer
netdev/deprecated_api success None detected
netdev/check_selftest success No net selftest shell script
netdev/verify_fixes success No Fixes tag
netdev/build_allmodconfig_warn success Errors and warnings before: 18 this patch: 18
netdev/checkpatch success total: 0 errors, 0 warnings, 0 checks, 17 lines checked
netdev/build_clang_rust success No Rust files in patch. Skipping build
netdev/kdoc success Errors and warnings before: 0 this patch: 0
netdev/source_inline success Was 0 now: 0
netdev/contest success net-next-2024-08-30--06-00 (tests: 714)

Commit Message

Yue Haibing Aug. 29, 2024, 12:37 p.m. UTC
These were never implenmented since introduction in commit 4d22de3e6cc4
("Add support for the latest 1G/10G Chelsio adapter, T3.").

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
---
 drivers/net/ethernet/chelsio/cxgb/common.h | 2 --
 drivers/net/ethernet/chelsio/cxgb/tp.h     | 2 --
 2 files changed, 4 deletions(-)

Comments

Simon Horman Aug. 30, 2024, 7:36 a.m. UTC | #1
On Thu, Aug 29, 2024 at 08:37:07PM +0800, Yue Haibing wrote:
> These were never implenmented since introduction in commit 4d22de3e6cc4
> ("Add support for the latest 1G/10G Chelsio adapter, T3.").
> 
> Signed-off-by: Yue Haibing <yuehaibing@huawei.com>

Hi,

I agree that these were never implemented, but I think the at the
correct citation is:

commit 8199d3a79c22 ("[PATCH] A new 10GB Ethernet Driver by Chelsio Communications")

...
Yue Haibing Aug. 30, 2024, 9:23 a.m. UTC | #2
On 2024/8/30 15:36, Simon Horman wrote:
> On Thu, Aug 29, 2024 at 08:37:07PM +0800, Yue Haibing wrote:
>> These were never implenmented since introduction in commit 4d22de3e6cc4
>> ("Add support for the latest 1G/10G Chelsio adapter, T3.").
>>
>> Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
> 
> Hi,
> 
> I agree that these were never implemented, but I think the at the
> correct citation is:
> 
> commit 8199d3a79c22 ("[PATCH] A new 10GB Ethernet Driver by Chelsio Communications")

Indeed, I missed this one, thanks!

> 
> ...
> .
diff mbox series

Patch

diff --git a/drivers/net/ethernet/chelsio/cxgb/common.h b/drivers/net/ethernet/chelsio/cxgb/common.h
index e56eff701395..304bb282ab03 100644
--- a/drivers/net/ethernet/chelsio/cxgb/common.h
+++ b/drivers/net/ethernet/chelsio/cxgb/common.h
@@ -329,8 +329,6 @@  irqreturn_t t1_slow_intr_handler(adapter_t *adapter);
 
 int t1_link_start(struct cphy *phy, struct cmac *mac, struct link_config *lc);
 const struct board_info *t1_get_board_info(unsigned int board_id);
-const struct board_info *t1_get_board_info_from_ids(unsigned int devid,
-						    unsigned short ssid);
 int t1_seeprom_read(adapter_t *adapter, u32 addr, __le32 *data);
 int t1_get_board_rev(adapter_t *adapter, const struct board_info *bi,
 		     struct adapter_params *p);
diff --git a/drivers/net/ethernet/chelsio/cxgb/tp.h b/drivers/net/ethernet/chelsio/cxgb/tp.h
index ba15675d56df..64f93dcc676b 100644
--- a/drivers/net/ethernet/chelsio/cxgb/tp.h
+++ b/drivers/net/ethernet/chelsio/cxgb/tp.h
@@ -65,9 +65,7 @@  void t1_tp_intr_enable(struct petp *tp);
 void t1_tp_intr_clear(struct petp *tp);
 int t1_tp_intr_handler(struct petp *tp);
 
-void t1_tp_get_mib_statistics(adapter_t *adap, struct tp_mib_statistics *tps);
 void t1_tp_set_tcp_checksum_offload(struct petp *tp, int enable);
 void t1_tp_set_ip_checksum_offload(struct petp *tp, int enable);
-int t1_tp_set_coalescing_size(struct petp *tp, unsigned int size);
 int t1_tp_reset(struct petp *tp, struct tp_params *p, unsigned int tp_clk);
 #endif