From: Pavel Emelyanov Date: Sat, 1 Dec 2007 13:06:34 +0000 (+1100) Subject: [NEIGH]: Cleanup the neigh_sysctl_register X-Git-Tag: v2.6.25-rc1~1162^2~1308 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c607bbb472814f01b077af01ae326944ff6b8b3;p=pandora-kernel.git [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 Signed-off-by: Herbert Xu Signed-off-by: David S. Miller --- Reading git-diff-tree failed