LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] [IPV6] Minor cleanup: remove unused definitions in net/ip6_fib.h
@ 2008-02-07 16:23 Rami Rosen
  2008-02-08  2:11 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Rami Rosen @ 2008-02-07 16:23 UTC (permalink / raw)
  To: David Miller, netdev; +Cc: linux-kernel

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

Hi,

This patch removes some unused definitions and one method typedef
declaration (f_pnode)
in include/net/ip6_fib.h, as they are not used in the kernel.

Regards,
Rami Rosen


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

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

diff --git a/include/net/ip6_fib.h b/include/net/ip6_fib.h
index d8d85b1..953d604 100644
--- a/include/net/ip6_fib.h
+++ b/include/net/ip6_fib.h
@@ -150,19 +150,6 @@ struct rt6_statistics {
  *
  */
 
-#define RTPRI_FIREWALL	8		/* Firewall control information	*/
-#define RTPRI_FLOW	16		/* Flow based forwarding rules	*/
-#define RTPRI_KERN_CTL	32		/* Kernel control routes	*/
-
-#define RTPRI_USER_MIN	256		/* Mimimum user priority	*/
-#define RTPRI_USER_MAX	1024		/* Maximum user priority	*/
-
-#define RTPRI_KERN_DFLT	4096		/* Kernel default routes	*/
-
-#define	MAX_FLOW_BACKTRACE	32
-
-
-typedef void			(*f_pnode)(struct fib6_node *fn, void *);
 
 struct fib6_table {
 	struct hlist_node	tb6_hlist;

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

* Re: [PATCH] [IPV6] Minor cleanup: remove unused definitions in net/ip6_fib.h
  2008-02-07 16:23 [PATCH] [IPV6] Minor cleanup: remove unused definitions in net/ip6_fib.h Rami Rosen
@ 2008-02-08  2:11 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2008-02-08  2:11 UTC (permalink / raw)
  To: ramirose; +Cc: netdev, linux-kernel

From: "Rami Rosen" <ramirose@gmail.com>
Date: Thu, 7 Feb 2008 18:23:58 +0200

> Hi,
> 
> This patch removes some unused definitions and one method typedef
> declaration (f_pnode)
> in include/net/ip6_fib.h, as they are not used in the kernel.
> 
> Signed-off-by: Rami Rosen <ramirose@gmail.com>

Applied, thanks.

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

end of thread, other threads:[~2008-02-08  2:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-07 16:23 [PATCH] [IPV6] Minor cleanup: remove unused definitions in net/ip6_fib.h Rami Rosen
2008-02-08  2:11 ` 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).