diff options
author | Yuyu Li <liyuyu6@huawei.com> | 2024-11-22 18:53:01 +0800 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2024-12-25 02:35:47 -0500 |
commit | 4c354c02d5e38c5cd0edc7780645d0ab0b3bc455 (patch) | |
tree | 57ee51f2fdb1edb47e315be23a47dba770a714f3 | |
parent | 18eb2bf3df190f03f62e8ed45730229002cc341f (diff) |
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>
-rw-r--r-- | drivers/infiniband/hw/irdma/utils.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/infiniband/hw/irdma/utils.c b/drivers/infiniband/hw/irdma/utils.c index 1ea29994ace3..0e594122baa7 100644 --- a/drivers/infiniband/hw/irdma/utils.c +++ b/drivers/infiniband/hw/irdma/utils.c @@ -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; } |