[IPV4]: Cleanup the devinet_sysctl_register
commit9fa896429905eccc263ff0d5e592ecaf651af12d
authorPavel Emelyanov <xemul@openvz.org>
Sat, 1 Dec 2007 13:17:46 +0000 (2 00:17 +1100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:55:25 +0000 (28 14:55 -0800)
tree310374164f56cb624e4bcbad976a0dfae2918e2a
parentc3bac5a71b24f6ed892b250d4f7511cedc33d34c
[IPV4]: Cleanup the devinet_sysctl_register

I moved the call to kmalloc() from the *t declaration into
the code (this is confusing when a variable is initialized
with the result of some call) and removed unneeded comment
near the error path. Just like I did with the neigh ctl-s.

Besides, I fixed the goto's and the labels - they were indented
with spaces :(

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/devinet.c