[Devel] Re: [PATCH] Cleanup snmp6_alloc_dev()

David Miller davem at davemloft.net
Wed Oct 17 21:25:42 PDT 2007


From: Pavel Emelyanov <xemul at openvz.org>
Date: Wed, 17 Oct 2007 14:44:44 +0400

> 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 <xemul at openvz.org>

Applied.




More information about the Devel mailing list