mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
net: Remove unused get_hash_from_flow functions
__get_hash_from_flowi6 is still used for flowlabels, but the IPv4 variant and the wrappers to both are not used. Remove them. Signed-off-by: David Ahern <dsahern@gmail.com> Reviewed-by: Ido Schimmel <idosch@mellanox.com> Reviewed-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
5e18b9c550
commit
de7a0f871f
@@ -222,20 +222,4 @@ static inline unsigned int flow_key_size(u16 family)
|
||||
|
||||
__u32 __get_hash_from_flowi6(const struct flowi6 *fl6, struct flow_keys *keys);
|
||||
|
||||
static inline __u32 get_hash_from_flowi6(const struct flowi6 *fl6)
|
||||
{
|
||||
struct flow_keys keys;
|
||||
|
||||
return __get_hash_from_flowi6(fl6, &keys);
|
||||
}
|
||||
|
||||
__u32 __get_hash_from_flowi4(const struct flowi4 *fl4, struct flow_keys *keys);
|
||||
|
||||
static inline __u32 get_hash_from_flowi4(const struct flowi4 *fl4)
|
||||
{
|
||||
struct flow_keys keys;
|
||||
|
||||
return __get_hash_from_flowi4(fl4, &keys);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user