]> err.no Git - linux-2.6/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)
commit14d0e7b74e05a1983f5b607e90bc9bafa5ce9eb3
treed461298f7d3c655cf48b060a133501a199e446fa
parent1596c97aa896fdcee49d3bf90c91ed91e0d81492
[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