summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2020-04-24 12:06:29 +0300
committerDavid S. Miller <davem@davemloft.net>2020-04-25 02:58:34 +0300
commit5d7163a117876f95f44f6f9fb9f028daead42243 (patch)
tree3d2d5d2902cac1bc386674c14183a020e6f86675 /include
parent7f023ec91c3cb188ab8a52478f3145ccd4daef68 (diff)
downloadlinux-5d7163a117876f95f44f6f9fb9f028daead42243.tar.xz
net: ipv6: remove unused inline function ip6_set_txhash
commit 877d1f6291f8 ("net: Set sk_txhash from a random number") left behind this, remove it. Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/net/ipv6.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/ipv6.h b/include/net/ipv6.h
index 1bf8065fe871..955badd1e8ff 100644
--- a/include/net/ipv6.h
+++ b/include/net/ipv6.h
@@ -908,7 +908,6 @@ static inline int ip6_default_np_autolabel(struct net *net)
}
}
#else
-static inline void ip6_set_txhash(struct sock *sk) { }
static inline __be32 ip6_make_flowlabel(struct net *net, struct sk_buff *skb,
__be32 flowlabel, bool autolabel,
struct flowi6 *fl6)