commit | 1818ce4dc59a71a53faa33a7ca050ca9c406bf66 | [log] [tgz] |
---|---|---|
author | xiao jin <jin.xiao@intel.com> | Fri Apr 25 08:50:54 2014 +0800 |
committer | David S. Miller <davem@davemloft.net> | Sat Apr 26 12:50:23 2014 -0400 |
tree | f1674c0ebbc83a29942dea9dde81260fd31b7b06 | |
parent | 98a20b735bb4ba5d97d35cf69eb0d8a2ee505de2 [diff] |
net_namespace: trivial cleanup 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 <jin.xiao@intel.com> Reviewed-by: David Cohen <david.a.cohen@linux.intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>