]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[NET] net/core/dev.c: use LIST_HEAD instead of LIST_HEAD_INIT
authorDenis Cheng <crquan@gmail.com>
Fri, 7 Dec 2007 08:49:17 +0000 (00:49 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:56:51 +0000 (14:56 -0800)
commit3b5b34fd2b0fdea4d2efbd55daefb1ad3d7d9039
tree69d1313f26d07a2faa83152c491485f13f8c3ecb
parent877a9bff3889512d7326d6bf0ba6ed3ddda6d772
[NET] net/core/dev.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/core/dev.c