]> git.baikalelectronics.ru Git - kernel.git/commit
[IPV4]: Cleanup the devinet_sysctl_register
authorPavel Emelyanov <xemul@openvz.org>
Sat, 1 Dec 2007 13:17:46 +0000 (00:17 +1100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:55:25 +0000 (14:55 -0800)
commitcef4035fa1a64de568845c4d4e2be0eee1a90d3c
tree310374164f56cb624e4bcbad976a0dfae2918e2a
parentb4c8e0d05679e1872bdc88598929f467d53b118d
[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