]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
RDMA/siw: Remove deliver net device event
authorYuyu Li <liyuyu6@huawei.com>
Fri, 22 Nov 2024 10:53:03 +0000 (18:53 +0800)
committerLeon Romanovsky <leon@kernel.org>
Wed, 25 Dec 2024 08:39:46 +0000 (03:39 -0500)
commit62f5d59d1a3d17918ee7e9da9cb4ccb9443e0480
treea64156cc7d7b6e40755fbb35210cd1369ad87e53
parent958152336cfafdec1f42d3d44253805282dc1321
RDMA/siw: Remove deliver net device event

Since the netdev events of link status is now handled in ib_core,
remove the related code in drivers.

In addition, remove sdev->state as it is only used in siw_query_port(),
and it can be replaced by ib_get_curr_port_state().

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/sw/siw/siw.h
drivers/infiniband/sw/siw/siw_main.c
drivers/infiniband/sw/siw/siw_verbs.c