projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18eb2bf
)
RDMA/irdma: Remove deliver net device event
author
Yuyu Li
<liyuyu6@huawei.com>
Fri, 22 Nov 2024 10:53:01 +0000
(18:53 +0800)
committer
Leon Romanovsky
<leon@kernel.org>
Wed, 25 Dec 2024 07:35:47 +0000
(
02:35
-0500)
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>
drivers/infiniband/hw/irdma/utils.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/infiniband/hw/irdma/utils.c
b/drivers/infiniband/hw/irdma/utils.c
index 1ea29994ace313993a419d573e9be7ee846ded3e..0e594122baa786710507d7755370aa92e2b28b88 100644
(file)
--- 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;
}