diff mbox series

[net-next] net: ipv6: remove unused inline function ip6_set_txhash

Message ID 20200424090629.33840-1-yuehaibing@huawei.com
State New
Headers show
Series [net-next] net: ipv6: remove unused inline function ip6_set_txhash | expand

Commit Message

Yue Haibing April 24, 2020, 9:06 a.m. UTC
commit 877d1f6291f8 ("net: Set sk_txhash from a random number")
left behind this, remove it.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 include/net/ipv6.h | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

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)