Searched hist:"3 c607bbb" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/net/core/ |
H A D | neighbour.c | 3c607bbb Sat Dec 01 07:06:34 CST 2007 Pavel Emelyanov <xemul@openvz.org> [NEIGH]: Cleanup the neigh_sysctl_register
This mainly removes the err variable, as this call always return the same error code (-ENOBUFS).
Besides, 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.
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> 3c607bbb Sat Dec 01 07:06:34 CST 2007 Pavel Emelyanov <xemul@openvz.org> [NEIGH]: Cleanup the neigh_sysctl_register This mainly removes the err variable, as this call always return the same error code (-ENOBUFS). Besides, 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. 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>
|