]> git.baikalelectronics.ru Git - kernel.git/commit
[X25]: use LIST_HEAD instead of LIST_HEAD_INIT
authorDenis Cheng <crquan@gmail.com>
Fri, 7 Dec 2007 08:50:43 +0000 (00:50 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:56:53 +0000 (14:56 -0800)
commitae81cf4b52b626cab196a94663b82679ecc98837
treebcbf2131dd3252899bc6603bb5954ce6b785b5d5
parent4d98eb8222ac4d90b140ca512d3f0338670e63b9
[X25]: use LIST_HEAD instead of LIST_HEAD_INIT

single list_head variable initialized with LIST_HEAD_INIT could almost
always can be replaced with LIST_HEAD declaration, this shrinks the code
and looks better.

Signed-off-by: Denis Cheng <crquan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/x25/x25_forward.c
net/x25/x25_link.c
net/x25/x25_route.c