diff mbox series

[net-next] net: hns: Remove unused function declaration mac_adjust_link()

Message ID 20230804130048.39808-1-yuehaibing@huawei.com (mailing list archive)
State Accepted
Commit 6ff0490cd8100c07d0329d475afccaa9656595b9
Delegated to: Netdev Maintainers
Headers show
Series [net-next] net: hns: Remove unused function declaration mac_adjust_link() | expand

Checks

Context Check Description
netdev/series_format success Single patches do not need cover letters
netdev/tree_selection success Clearly marked for net-next
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: 1328 this patch: 1328
netdev/cc_maintainers success CCed 8 of 8 maintainers
netdev/build_clang success Errors and warnings before: 1351 this patch: 1351
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: 1351 this patch: 1351
netdev/checkpatch success total: 0 errors, 0 warnings, 0 checks, 7 lines checked
netdev/kdoc success Errors and warnings before: 0 this patch: 0
netdev/source_inline success Was 0 now: 0

Commit Message

Yue Haibing Aug. 4, 2023, 1 p.m. UTC
Commit 511e6bc071db ("net: add Hisilicon Network Subsystem DSAF support")
declared but never implemented this, remove it.

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
---
 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.h | 1 -
 1 file changed, 1 deletion(-)

Comments

Simon Horman Aug. 5, 2023, 3:38 p.m. UTC | #1
On Fri, Aug 04, 2023 at 09:00:48PM +0800, Yue Haibing wrote:
> Commit 511e6bc071db ("net: add Hisilicon Network Subsystem DSAF support")
> declared but never implemented this, remove it.
> 
> Signed-off-by: Yue Haibing <yuehaibing@huawei.com>

Reviewed-by: Simon Horman <horms@kernel.org>
Hao Lan Aug. 8, 2023, 12:04 p.m. UTC | #2
On 2023/8/4 21:00, Yue Haibing wrote:
> Commit 511e6bc071db ("net: add Hisilicon Network Subsystem DSAF support")
> declared but never implemented this, remove it.
> 
> Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
> ---
>  drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.h | 1 -
>  1 file changed, 1 deletion(-)

Reviewed-by: Hao Lan <lanhao@huawei.com>
patchwork-bot+netdevbpf@kernel.org Aug. 8, 2023, 10 p.m. UTC | #3
Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Fri, 4 Aug 2023 21:00:48 +0800 you wrote:
> Commit 511e6bc071db ("net: add Hisilicon Network Subsystem DSAF support")
> declared but never implemented this, remove it.
> 
> Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
> ---
>  drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.h | 1 -
>  1 file changed, 1 deletion(-)

Here is the summary with links:
  - [net-next] net: hns: Remove unused function declaration mac_adjust_link()
    https://git.kernel.org/netdev/net-next/c/6ff0490cd810

You are awesome, thank you!
diff mbox series

Patch

diff --git a/drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.h b/drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.h
index e3bb05959ba9..edf0bcf76ac9 100644
--- a/drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.h
+++ b/drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.h
@@ -422,7 +422,6 @@  void *hns_xgmac_config(struct hns_mac_cb *mac_cb,
 		       struct mac_params *mac_param);
 
 int hns_mac_init(struct dsaf_device *dsaf_dev);
-void mac_adjust_link(struct net_device *net_dev);
 bool hns_mac_need_adjust_link(struct hns_mac_cb *mac_cb, int speed, int duplex);
 void hns_mac_get_link_status(struct hns_mac_cb *mac_cb,	u32 *link_status);
 int hns_mac_change_vf_addr(struct hns_mac_cb *mac_cb, u32 vmid,