]> git.baikalelectronics.ru Git - kernel.git/commit
netns: minor cleanup in rtnl_net_getid()
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Tue, 7 Apr 2015 09:51:52 +0000 (11:51 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Apr 2015 21:29:41 +0000 (17:29 -0400)
commitaaea6f7dc77ab3b869bde7c90bd84169f3ad3d4e
treeb0776615a3a23c05801434e0cdc19922194693bf
parent3300119591a0a364d0e95d2ffef18b0b7f2f52ac
netns: minor cleanup in rtnl_net_getid()

No need to initialize err, it will be overridden by the value of nlmsg_parse().

Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/net_namespace.c