summaryrefslogtreecommitdiff
path: root/arch/um/drivers/port_kern.c
diff options
context:
space:
mode:
authorJeff Dike <jdike@addtoit.com>2007-02-10 12:44:04 +0300
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-11 21:51:22 +0300
commitc59bce6262f9511c8e2504231f60609bf7332833 (patch)
tree9b5d91bf6e3f4680f2cde658d772f660a9b9c7d3 /arch/um/drivers/port_kern.c
parentc862fc32a3ee4319c652f4ff39462d030120c380 (diff)
downloadlinux-c59bce6262f9511c8e2504231f60609bf7332833.tar.xz
[PATCH] uml: use LIST_HEAD where possible
A couple of list_head declarations can be improved through the use of LIST_HEAD(). Signed-off-by: Jeff Dike <jdike@addtoit.com> Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/um/drivers/port_kern.c')
-rw-r--r--arch/um/drivers/port_kern.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/drivers/port_kern.c b/arch/um/drivers/port_kern.c
index 4dd7d8a11db2..1c8efd95c421 100644
--- a/arch/um/drivers/port_kern.c
+++ b/arch/um/drivers/port_kern.c
@@ -130,7 +130,7 @@ static int port_accept(struct port_list *port)
}
static DECLARE_MUTEX(ports_sem);
-static struct list_head ports = LIST_HEAD_INIT(ports);
+static LIST_HEAD(ports);
void port_work_proc(struct work_struct *unused)
{