Re: [PATCH] cleanup_net: trivial cleanup

2014-04-26 Thread David Miller
From: xiao jin Date: Fri, 25 Apr 2014 08:50:54 +0800 > Do not initialize net_kill_list twice. > list_replace_init() already takes care of initializing net_kill_list. > We don't need to initialize it with LIST_HEAD() beforehand. > > Signed-off-by: xiao jin > Reviewed-by: David Cohen Applied, t

[PATCH] cleanup_net: trivial cleanup

2014-04-24 Thread xiao jin
Do not initialize net_kill_list twice. list_replace_init() already takes care of initializing net_kill_list. We don't need to initialize it with LIST_HEAD() beforehand. Signed-off-by: xiao jin Reviewed-by: David Cohen --- net/core/net_namespace.c |2 +- 1 file changed, 1 insertion(+), 1 del