Minor clenup: remove two unused definitions in net/ip6_route.h
Subsystems (3)
PATCH 1/1 Minor clenup: remove two unused definitions in net/ip6_route.h
Hi,
Remove IP6_RT_PRIO_FW and IP6_RT_FLOW_MASK definitions in include/net/ip6_route.h, as they are not used in the kernel.
Regards,
Rami Rosen
Signed-off-by Rami Rosen <[email protected]>
include/net/ip6_route.h +0 -2
@@ -1,11 +1,9 @@ #ifndef _NET_IP6_ROUTE_H #define _NET_IP6_ROUTE_H -#define IP6_RT_PRIO_FW 16 #define IP6_RT_PRIO_USER 1024 #define IP6_RT_PRIO_ADDRCONF 256 #define IP6_RT_PRIO_KERN 512 -#define IP6_RT_FLOW_MASK 0x00ff struct route_info { __u8 type;
From: "Rami Rosen" <[email protected]>
Date: Thu, 7 Feb 2008 17:58:07 +0200
Quoted 4 lines
Remove
IP6_RT_PRIO_FWandIP6_RT_FLOW_MASKdefinitions ininclude/net/ip6_route.h, as they are not used in the kernel.Signed-off-by Rami Rosen <[email protected]>
Applied.
If you grep for "fc_metric" in the tree you'll see some explicit uses of the magic constant "1024" which probably should be replaced with IP6_RT_PRIO_USER. If you could verify that and cook up a patch if correct, I'd appreciate it.
Thanks.