Re: [PATCH] [IPV6] Minor cleanup: remove unused definitions in net/ip6_fib.h

2008-02-07 Thread David Miller
From: "Rami Rosen" <[EMAIL PROTECTED]>
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 <[EMAIL PROTECTED]>

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH] [IPV6] Minor cleanup: remove unused definitions in net/ip6_fib.h

2008-02-07 Thread Rami Rosen
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 <[EMAIL PROTECTED]>
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_DFLT4096/* Kernel default routes
*/
-
-#defineMAX_FLOW_BACKTRACE  32
-
-
-typedef void   (*f_pnode)(struct fib6_node *fn, void *);
 
 struct fib6_table {
struct hlist_node   tb6_hlist;