mirror of
https://github.com/torvalds/linux.git
synced 2026-06-02 03:24:19 +02:00
RDMA/irdma: Remove deliver net device event
Since the netdev events of link status is now handled in ib_core, remove the related code in drivers. Signed-off-by: Yuyu Li <liyuyu6@huawei.com> Signed-off-by: Junxian Huang <huangjunxian6@hisilicon.com> Signed-off-by: Leon Romanovsky <leon@kernel.org>
This commit is contained in:
parent
18eb2bf3df
commit
4c354c02d5
|
|
@ -320,9 +320,6 @@ int irdma_netdevice_event(struct notifier_block *notifier, unsigned long event,
|
|||
case NETDEV_DOWN:
|
||||
iwdev->iw_status = 0;
|
||||
fallthrough;
|
||||
case NETDEV_UP:
|
||||
irdma_port_ibevent(iwdev);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user