Skip to contentSkip to conversation

Minor cleanup: remove unused definitions in net/ip6_fib.h

PATCH Applied Rami Rosen 2 participants 2 messages Feb 7, 2008 – Feb 8, 2008

Subsystems (3)
lore
Share & tools
lore

Rami Rosen

author
#0 lore raw

PATCH 1/1 Minor cleanup: remove unused definitions in net/ip6_fib.h

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

include/net/ip6_fib.h +0 -13
index d8d85b1..953d604 100644
@@ -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;
maintainer Applied
#1 lore raw

From: "Rami Rosen" <[email protected]>
Date: Thu, 7 Feb 2008 18:23:58 +0200

Quoted 7 lines

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.

Applied, thanks.