Эх сурвалжийг харах

lapb: use the shorter LIST_HEAD form for brevity

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Robert P. J. Day 17 жил өмнө
parent
commit
293a383930

+ 1 - 1
drivers/net/wan/lapbether.c

@@ -58,7 +58,7 @@ struct lapbethdev {
 	struct net_device_stats stats;		/* some statistics */
 	struct net_device_stats stats;		/* some statistics */
 };
 };
 
 
-static struct list_head lapbeth_devices = LIST_HEAD_INIT(lapbeth_devices);
+static LIST_HEAD(lapbeth_devices);
 
 
 /* ------------------------------------------------------------------------ */
 /* ------------------------------------------------------------------------ */