Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 90667
b: refs/heads/master
c: cee8947
h: refs/heads/master
i:
  90665: a58f3f4
  90663: e64cfad
v: v3
  • Loading branch information
YOSHIFUJI Hideaki authored and David S. Miller committed Apr 14, 2008
1 parent d351f39 commit ceed111
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 10 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: 671a1c7401c6e48f5f2a77ac330727a13a9c8b63
refs/heads/master: cee8947338d46bccece54c752bf6cd4043035f05
3 changes: 0 additions & 3 deletions trunk/include/linux/mroute6.h
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,6 @@ struct sioc_mif_req6

#include <linux/skbuff.h> /* for struct sk_buff_head */

struct net_device;
struct inet6_dev *ipv6_find_idev(struct net_device *dev);

#ifdef CONFIG_IPV6_MROUTE
static inline int ip6_mroute_opt(int opt)
{
Expand Down
2 changes: 1 addition & 1 deletion trunk/net/ipv6/addrconf.c
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ static struct inet6_dev * ipv6_add_dev(struct net_device *dev)
return ndev;
}

struct inet6_dev * ipv6_find_idev(struct net_device *dev)
static struct inet6_dev * ipv6_find_idev(struct net_device *dev)
{
struct inet6_dev *idev;

Expand Down
5 changes: 0 additions & 5 deletions trunk/net/ipv6/ip6mr.c
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,6 @@ static void reg_vif_setup(struct net_device *dev)
static struct net_device *ip6mr_reg_vif(void)
{
struct net_device *dev;
struct inet6_dev *in_dev;

dev = alloc_netdev(sizeof(struct net_device_stats), "pim6reg",
reg_vif_setup);
Expand All @@ -449,10 +448,6 @@ static struct net_device *ip6mr_reg_vif(void)
}
dev->iflink = 0;

in_dev = ipv6_find_idev(dev);
if (!in_dev)
goto failure;

if (dev_open(dev))
goto failure;

Expand Down

0 comments on commit ceed111

Please sign in to comment.