From: Justin Pettit Date: Thu, 15 May 2008 00:06:12 +0000 (-0700) Subject: Remove definition of unused function "hash_in6". X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df50f327ff0f3dfabcb000c00edf94536053d0ad;p=openvswitch Remove definition of unused function "hash_in6". --- diff --git a/datapath/flow.c b/datapath/flow.c index 5e114071..fde6dd37 100644 --- a/datapath/flow.c +++ b/datapath/flow.c @@ -183,12 +183,6 @@ void print_flow(const struct sw_flow_key *key) ntohs(key->tp_src), ntohs(key->tp_dst)); } -uint32_t hash_in6(const struct in6_addr *in) -{ - return (in->s6_addr32[0] ^ in->s6_addr32[1] - ^ in->s6_addr32[2] ^ in->s6_addr32[3]); -} - /* Parses the Ethernet frame in 'skb', which was received on 'in_port', * and initializes 'key' to match. */ void flow_extract(struct sk_buff *skb, uint16_t in_port,