aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/inetpeer.c
diff options
context:
space:
mode:
authorxiao jin <jin.xiao@intel.com>2014-04-25 08:50:54 +0800
committerDavid S. Miller <davem@davemloft.net>2014-04-26 12:50:23 -0400
commit1818ce4dc59a71a53faa33a7ca050ca9c406bf66 (patch)
treef1674c0ebbc83a29942dea9dde81260fd31b7b06 /net/ipv4/inetpeer.c
parentMerge tag 'linux-can-next-for-3.16-20140425' of git://gitorious.org/linux-can/linux-can-next (diff)
downloadlinux-dev-1818ce4dc59a71a53faa33a7ca050ca9c406bf66.tar.xz
linux-dev-1818ce4dc59a71a53faa33a7ca050ca9c406bf66.zip
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>
Diffstat (limited to 'net/ipv4/inetpeer.c')
0 files changed, 0 insertions, 0 deletions