diff --git a/net/core/dev.c b/net/core/dev.c index d0d2675aaed66c1cfffe840440c161393e6d3322..12f66e528a4b5a9948c7dceeeac649ff889e1a98 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -3492,7 +3492,7 @@ static int dev_new_index(struct net *net) /* Delayed registration/unregisteration */ static DEFINE_SPINLOCK(net_todo_list_lock); -static struct list_head net_todo_list = LIST_HEAD_INIT(net_todo_list); +static LIST_HEAD(net_todo_list); static void net_set_todo(struct net_device *dev) {