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 |
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>
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>
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 --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,
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(-)