summaryrefslogtreecommitdiff
path: root/net/xfrm/xfrm_algo.c
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@openvz.org>2007-12-02 00:06:34 +1100
committerDavid S. Miller <davem@davemloft.net>2008-01-28 14:55:24 -0800
commit3c607bbb472814f01b077af01ae326944ff6b8b3 (patch)
tree0b6097274f25c8c0cfe180c8da640c68c9781af6 /net/xfrm/xfrm_algo.c
parent1597fbc0faf88c42edb3fe42e92e53b83c3f120e (diff)
[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>
Diffstat (limited to 'net/xfrm/xfrm_algo.c')
0 files changed, 0 insertions, 0 deletions