Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

net: hns: Remove unused function declaration mac_adjust_link()

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>
Reviewed-by: Hao Lan <lanhao@huawei.com>
Link: https://lore.kernel.org/r/20230804130048.39808-1-yuehaibing@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Yue Haibing and committed by
Jakub Kicinski
6ff0490c 2359fd0b

-1
-1
drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.h
··· 422 422 struct mac_params *mac_param); 423 423 424 424 int hns_mac_init(struct dsaf_device *dsaf_dev); 425 - void mac_adjust_link(struct net_device *net_dev); 426 425 bool hns_mac_need_adjust_link(struct hns_mac_cb *mac_cb, int speed, int duplex); 427 426 void hns_mac_get_link_status(struct hns_mac_cb *mac_cb, u32 *link_status); 428 427 int hns_mac_change_vf_addr(struct hns_mac_cb *mac_cb, u32 vmid,