[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>
Este commit está contenido en:
@@ -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)
|
||||
{
|
||||
|
Referencia en una nueva incidencia
Block a user