LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH net-2.6.26] [IPV6] Remove three method declarations in include/net/ndisc.h.
@ 2008-04-01 11:33 Rami Rosen
  2008-04-10  9:01 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Rami Rosen @ 2008-04-01 11:33 UTC (permalink / raw)
  To: David Miller, netdev; +Cc: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 313 bytes --]

Hi,
This patch removes two unused method declarations in include/net/ndisc.h:
ndisc_forwarding_on(void) and  ndisc_forwarding_off(void);
Also igmp6_cleanup(void) appears twice in this header, so one
igmp6_cleanup(void)
declaration is removed.

Regards,
Rami Rosen


Signed-off-by: Rami Rosen <ramirose@gmail.com>

[-- Attachment #2: patch.txt --]
[-- Type: text/plain, Size: 755 bytes --]

diff --git a/include/net/ndisc.h b/include/net/ndisc.h
index 5aedf32..0c32d43 100644
--- a/include/net/ndisc.h
+++ b/include/net/ndisc.h
@@ -93,9 +93,6 @@ extern void			ndisc_send_rs(struct net_device *dev,
 					      struct in6_addr *saddr,
 					      struct in6_addr *daddr);
 
-extern void			ndisc_forwarding_on(void);
-extern void			ndisc_forwarding_off(void);
-
 extern void			ndisc_send_redirect(struct sk_buff *skb,
 						    struct neighbour *neigh,
 						    struct in6_addr *target);
@@ -115,7 +112,6 @@ extern int			igmp6_event_query(struct sk_buff *skb);
 
 extern int			igmp6_event_report(struct sk_buff *skb);
 
-extern void			igmp6_cleanup(void);
 
 #ifdef CONFIG_SYSCTL
 extern int 			ndisc_ifinfo_sysctl_change(struct ctl_table *ctl,

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH net-2.6.26] [IPV6] Remove three method declarations in include/net/ndisc.h.
  2008-04-01 11:33 [PATCH net-2.6.26] [IPV6] Remove three method declarations in include/net/ndisc.h Rami Rosen
@ 2008-04-10  9:01 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2008-04-10  9:01 UTC (permalink / raw)
  To: ramirose; +Cc: netdev, linux-kernel

From: "Rami Rosen" <ramirose@gmail.com>
Date: Tue, 1 Apr 2008 14:33:54 +0300

> Hi,
> This patch removes two unused method declarations in include/net/ndisc.h:
> ndisc_forwarding_on(void) and  ndisc_forwarding_off(void);
> Also igmp6_cleanup(void) appears twice in this header, so one
> igmp6_cleanup(void)
> declaration is removed.
> 
> Signed-off-by: Rami Rosen <ramirose@gmail.com>

Applied to net-2.6.26, thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-04-10  9:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-01 11:33 [PATCH net-2.6.26] [IPV6] Remove three method declarations in include/net/ndisc.h Rami Rosen
2008-04-10  9:01 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).