Remove definition of unused function "hash_in6".
authorJustin Pettit <jpettit@nicira.com>
Thu, 15 May 2008 00:06:12 +0000 (17:06 -0700)
committerJustin Pettit <jpettit@nicira.com>
Thu, 15 May 2008 00:06:12 +0000 (17:06 -0700)
datapath/flow.c

index 5e1140710b05c6e6c134e8c81a882b9926040aae..fde6dd37d9cc2e3f4831c438355b29047bbe0690 100644 (file)
@@ -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,