Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 112154
b: refs/heads/master
c: 2ca89ce
h: refs/heads/master
v: v3
  • Loading branch information
Denis V. Lunev authored and David S. Miller committed Oct 8, 2008
1 parent 514fabc commit c583a5e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 18 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: 9261e53701121f83eb9482347d68833e95315362
refs/heads/master: 2ca89cea5c9fdafd495fb840fa055383d253174e
17 changes: 0 additions & 17 deletions trunk/net/ipv6/af_inet6.c
Original file line number Diff line number Diff line change
Expand Up @@ -795,15 +795,6 @@ static void ipv6_packet_cleanup(void)
dev_remove_pack(&ipv6_packet_type);
}

static int __init init_ipv6_mibs(void)
{
return 0;
}

static void cleanup_ipv6_mibs(void)
{
}

static int __net_init ipv6_init_mibs(struct net *net)
{
if (snmp_mib_init((void **)net->mib.udp_stats_in6,
Expand Down Expand Up @@ -935,11 +926,6 @@ static int __init inet6_init(void)
if (err)
goto out_sock_register_fail;

/* Initialise ipv6 mibs */
err = init_ipv6_mibs();
if (err)
goto out_unregister_sock;

#ifdef CONFIG_SYSCTL
err = ipv6_static_sysctl_register();
if (err)
Expand Down Expand Up @@ -1073,8 +1059,6 @@ static int __init inet6_init(void)
ipv6_static_sysctl_unregister();
static_sysctl_fail:
#endif
cleanup_ipv6_mibs();
out_unregister_sock:
sock_unregister(PF_INET6);
rtnl_unregister_all(PF_INET6);
out_sock_register_fail:
Expand Down Expand Up @@ -1131,7 +1115,6 @@ static void __exit inet6_exit(void)
#ifdef CONFIG_SYSCTL
ipv6_static_sysctl_unregister();
#endif
cleanup_ipv6_mibs();
proto_unregister(&rawv6_prot);
proto_unregister(&udplitev6_prot);
proto_unregister(&udpv6_prot);
Expand Down

0 comments on commit c583a5e

Please sign in to comment.