]> git.baikalelectronics.ru Git - kernel.git/commit
[LAPB] net/lapb/lapb_iface.c: use LIST_HEAD instead of LIST_HEAD_INIT
authorDenis Cheng <crquan@gmail.com>
Fri, 7 Dec 2007 08:50:15 +0000 (00:50 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:56:52 +0000 (14:56 -0800)
commit4d98eb8222ac4d90b140ca512d3f0338670e63b9
treed461298f7d3c655cf48b060a133501a199e446fa
parent50f60b45dd7554a1549fb97660a6ecc7869a9e1c
[LAPB] net/lapb/lapb_iface.c: 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/lapb/lapb_iface.c