diff options
author | David Ahern <dsahern@gmail.com> | 2018-03-02 08:32:20 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-04 13:04:23 -0500 |
commit | de7a0f871fabe74fff7481caf7d3efe03b58fe58 (patch) | |
tree | bc691a1977c9c994ddd9266d84630efffd990062 /include/net/flow.h | |
parent | 5e18b9c550397e4796bdca0f4cb8880fcc127dfe (diff) | |
download | talos-obmc-linux-de7a0f871fabe74fff7481caf7d3efe03b58fe58.tar.gz talos-obmc-linux-de7a0f871fabe74fff7481caf7d3efe03b58fe58.zip |
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>
Diffstat (limited to 'include/net/flow.h')
-rw-r--r-- | include/net/flow.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/include/net/flow.h b/include/net/flow.h index 64e7ee9cb980..8ce21793094e 100644 --- a/include/net/flow.h +++ b/include/net/flow.h @@ -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 |