From: Pavel Emelyanov Date: Thu, 18 Oct 2007 04:25:32 +0000 (-0700) Subject: [IPV6]: Cleanup snmp6_alloc_dev() X-Git-Tag: v2.6.24-rc1~294^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aaf70ec7fde2321281b2a49c7c9f881c90d0d208;p=pandora-kernel.git [IPV6]: Cleanup snmp6_alloc_dev() This functions is never called with NULL or not setup argument, so the checks inside are redundant. Also, the return value is always -ENOMEM, so no need in additional variable for this. Signed-off-by: Pavel Emelyanov Signed-off-by: David S. Miller --- Reading git-diff-tree failed