Skip to contentSkip to conversation

lapb: use the shorter LIST_HEAD form for brevity

PATCH Applied [email protected] 2 participants 2 messages Mar 28, 2008

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 3/4 lapb: use the shorter LIST_HEAD form for brevity

From: "Robert P. J. Day" <[email protected]>

---

 drivers/net/wan/lapbether.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wan/lapbether.c renamed from drivers/net/wan/lapbether.c~lapb-use-the-shorter-list_head-form-for-brevity +1 -1
diff -puN drivers/net/wan/lapbether.c~lapb-use-the-shorter-list_head-form-for-brevity drivers/net/wan/lapbether.c
@@ -58,7 +58,7 @@ struct lapbethdev {
 	struct net_device_stats stats;		/* some statistics */
 };
 
-static struct list_head lapbeth_devices = LIST_HEAD_INIT(lapbeth_devices);
+static LIST_HEAD(lapbeth_devices);
 
 /* ------------------------------------------------------------------------ */
 

_