tipc: remove unnecessary INIT_LIST_HEAD
authorYing Xue <ying.xue@windriver.com>
Tue, 2 Dec 2014 07:00:29 +0000 (15:00 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Dec 2014 01:39:57 +0000 (20:39 -0500)
commit834caafa3e61f63805738376fa9c02dc0c1eb224
tree8e2a6ffc763d1570d889ebd81a44704ea78e8c6a
parent5492390a9495bade807afca61eab860f852e33fa
tipc: remove unnecessary INIT_LIST_HEAD

When a list_head variable is seen as a new entry to be added to a
list head, it's unnecessary to be initialized with INIT_LIST_HEAD().

Signed-off-by: Ying Xue <ying.xue@windriver.com>
Reviewed-by: Erik Hugne <erik.hugne@ericsson.com>
Reviewed-by: Jon Maloy <jon.maloy@ericsson.com>
Tested-by: Erik Hugne <erik.hugne@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/name_table.c
net/tipc/subscr.c