Skip to contentSkip to conversation

LAPB: Use the shorter LIST_HEAD form for brevity.

PATCH New Robert P. J. Day 1 participant 1 message Mar 23, 2008

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

PATCH 1/1 LAPB: Use the shorter LIST_HEAD form for brevity.

---

whoops, earlier one went to the wrong list address, so this is a
resend.

drivers/net/wan/lapbether.c +1 -1
index fb37b80..824df3b 100644
@@ -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);
 
 /* ------------------------------------------------------------------------ */
 

========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
Have classroom, will lecture.

http://crashcourse.ca Waterloo, Ontario, CANADA
========================================================================