this code is not really working for now, so remove it. Signed-off-by: Oleksij Rempel <o.rempel@xxxxxxxxxxxxxx> --- net/can/j1939/main.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/net/can/j1939/main.c b/net/can/j1939/main.c index 3af412e407f5..980f65ef19a7 100644 --- a/net/can/j1939/main.c +++ b/net/can/j1939/main.c @@ -345,9 +345,6 @@ static int j1939_netdev_notify(struct notifier_block *nb, if (!priv) goto notify_done; - if (!net_eq(dev_net(ndev), &init_net)) - goto notify_put; - if (ndev->type != ARPHRD_CAN) goto notify_put; -- 2.20.1