diff options
author | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | 2008-04-14 02:21:16 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-04-14 02:21:16 -0400 |
commit | cee8947338d46bccece54c752bf6cd4043035f05 (patch) | |
tree | 3f1e30d20e75e66ebb22f9612d9eb64f2e1a8c48 /include/linux/mroute6.h | |
parent | 671a1c7401c6e48f5f2a77ac330727a13a9c8b63 (diff) |
[IPV6] MROUTE: Do not call ipv6_find_idev() directly.
Since NETDEV_REGISTER notifier chain is responsible for creating
inet6_dev{}, we do not need to call ipv6_find_idev() directly here.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/mroute6.h')
-rw-r--r-- | include/linux/mroute6.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/mroute6.h b/include/linux/mroute6.h index f6469fb90840..e7989593142b 100644 --- a/include/linux/mroute6.h +++ b/include/linux/mroute6.h | |||
@@ -117,9 +117,6 @@ struct sioc_mif_req6 | |||
117 | 117 | ||
118 | #include <linux/skbuff.h> /* for struct sk_buff_head */ | 118 | #include <linux/skbuff.h> /* for struct sk_buff_head */ |
119 | 119 | ||
120 | struct net_device; | ||
121 | struct inet6_dev *ipv6_find_idev(struct net_device *dev); | ||
122 | |||
123 | #ifdef CONFIG_IPV6_MROUTE | 120 | #ifdef CONFIG_IPV6_MROUTE |
124 | static inline int ip6_mroute_opt(int opt) | 121 | static inline int ip6_mroute_opt(int opt) |
125 | { | 122 | { |