diff options
author | Pavel Emelyanov <xemul@openvz.org> | 2007-10-18 06:25:32 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-10-18 06:25:32 +0200 |
commit | aaf70ec7fde2321281b2a49c7c9f881c90d0d208 (patch) | |
tree | 8d60e06a4b8eb498f35c0c3a3446fc00cdf8f61b /net/ipv4/xfrm4_tunnel.c | |
parent | [IPV6]: Fix return type for snmp6_free_dev() (diff) | |
download | linux-aaf70ec7fde2321281b2a49c7c9f881c90d0d208.tar.xz linux-aaf70ec7fde2321281b2a49c7c9f881c90d0d208.zip |
[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 <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/xfrm4_tunnel.c')
0 files changed, 0 insertions, 0 deletions