]> www.infradead.org Git - linux.git/commitdiff
RDMA/irdma: Remove deliver net device event
authorYuyu Li <liyuyu6@huawei.com>
Fri, 22 Nov 2024 10:53:01 +0000 (18:53 +0800)
committerLeon 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

index 1ea29994ace313993a419d573e9be7ee846ded3e..0e594122baa786710507d7755370aa92e2b28b88 100644 (file)
@@ -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;
        }