aboutsummaryrefslogtreecommitdiffstats
path: root/net/iucv/iucv.c
diff options
context:
space:
mode:
authorDenis Cheng <crquan@gmail.com>2007-12-07 03:51:45 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 17:56:54 -0500
commitb5e78337b50c0f3adda7faadb92f62bbdd5ffb56 (patch)
tree47a8a9d5e8744d07933ac7d118cbe3a02b6f62fc /net/iucv/iucv.c
parentdf01812eba19834e48abd43246abedfbc4feeb7e (diff)
[IUCV]: use LIST_HEAD instead of LIST_HEAD_INIT
these three list_head are all local variables, but can also use LIST_HEAD. Signed-off-by: Denis Cheng <crquan@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/iucv/iucv.c')
-rw-r--r--net/iucv/iucv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/iucv/iucv.c b/net/iucv/iucv.c
index 7698f6c459d6..f13fe8821cbd 100644
--- a/net/iucv/iucv.c
+++ b/net/iucv/iucv.c
@@ -1492,7 +1492,7 @@ static void iucv_tasklet_fn(unsigned long ignored)
1492 [0x08] = iucv_message_pending, 1492 [0x08] = iucv_message_pending,
1493 [0x09] = iucv_message_pending, 1493 [0x09] = iucv_message_pending,
1494 }; 1494 };
1495 struct list_head task_queue = LIST_HEAD_INIT(task_queue); 1495 LIST_HEAD(task_queue);
1496 struct iucv_irq_list *p, *n; 1496 struct iucv_irq_list *p, *n;
1497 1497
1498 /* Serialize tasklet, iucv_path_sever and iucv_path_connect. */ 1498 /* Serialize tasklet, iucv_path_sever and iucv_path_connect. */
@@ -1526,7 +1526,7 @@ static void iucv_tasklet_fn(unsigned long ignored)
1526static void iucv_work_fn(struct work_struct *work) 1526static void iucv_work_fn(struct work_struct *work)
1527{ 1527{
1528 typedef void iucv_irq_fn(struct iucv_irq_data *); 1528 typedef void iucv_irq_fn(struct iucv_irq_data *);
1529 struct list_head work_queue = LIST_HEAD_INIT(work_queue); 1529 LIST_HEAD(work_queue);
1530 struct iucv_irq_list *p, *n; 1530 struct iucv_irq_list *p, *n;
1531 1531
1532 /* Serialize tasklet, iucv_path_sever and iucv_path_connect. */ 1532 /* Serialize tasklet, iucv_path_sever and iucv_path_connect. */