Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 71282
b: refs/heads/master
c: aaf70ec
h: refs/heads/master
v: v3
  • Loading branch information
Pavel Emelyanov authored and David S. Miller committed Oct 18, 2007
1 parent 4cd91b3 commit fd40866
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 16910b9829797cda4032fbc84e5292ac7b4474f7
refs/heads/master: aaf70ec7fde2321281b2a49c7c9f881c90d0d208
7 changes: 1 addition & 6 deletions trunk/net/ipv6/addrconf.c
Original file line number Diff line number Diff line change
Expand Up @@ -255,11 +255,6 @@ static void addrconf_mod_timer(struct inet6_ifaddr *ifp,

static int snmp6_alloc_dev(struct inet6_dev *idev)
{
int err = -ENOMEM;

if (!idev || !idev->dev)
return -EINVAL;

if (snmp_mib_init((void **)idev->stats.ipv6,
sizeof(struct ipstats_mib),
__alignof__(struct ipstats_mib)) < 0)
Expand All @@ -280,7 +275,7 @@ static int snmp6_alloc_dev(struct inet6_dev *idev)
err_icmp:
snmp_mib_free((void **)idev->stats.ipv6);
err_ip:
return err;
return -ENOMEM;
}

static void snmp6_free_dev(struct inet6_dev *idev)
Expand Down

0 comments on commit fd40866

Please sign in to comment.