xfrm: remove tos indirection from afinfo_policy
[linux-2.6-microblaze.git] / net / ipv6 / xfrm6_policy.c
index 769f8f7..0e92fa2 100644 (file)
@@ -71,11 +71,6 @@ static int xfrm6_get_saddr(struct net *net, int oif,
        return 0;
 }
 
-static int xfrm6_get_tos(const struct flowi *fl)
-{
-       return 0;
-}
-
 static int xfrm6_init_path(struct xfrm_dst *path, struct dst_entry *dst,
                           int nfheader_len)
 {
@@ -292,7 +287,6 @@ static const struct xfrm_policy_afinfo xfrm6_policy_afinfo = {
        .dst_lookup =           xfrm6_dst_lookup,
        .get_saddr =            xfrm6_get_saddr,
        .decode_session =       _decode_session6,
-       .get_tos =              xfrm6_get_tos,
        .init_path =            xfrm6_init_path,
        .fill_dst =             xfrm6_fill_dst,
        .blackhole_route =      ip6_blackhole_route,