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)
commitb111e4e1112316e800dd1f1debdf017d2cf940b2
treeb0776615a3a23c05801434e0cdc19922194693bf
parente0e8db2f89bac4529fa12dde2595d6295e313952
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