forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-04 1543e317f1da31b75942316931e8f491a8920811
kernel/drivers/infiniband/sw/siw/siw_main.c
....@@ -458,9 +458,6 @@
458458
459459 dev_dbg(&netdev->dev, "siw: event %lu\n", event);
460460
461
- if (dev_net(netdev) != &init_net)
462
- return NOTIFY_OK;
463
-
464461 base_dev = ib_device_get_by_netdev(netdev, RDMA_DRIVER_SIW);
465462 if (!base_dev)
466463 return NOTIFY_OK;