projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a1d4f0
)
Remove definition of unused function "hash_in6".
author
Justin Pettit
<jpettit@nicira.com>
Thu, 15 May 2008 00:06:12 +0000
(17:06 -0700)
committer
Justin Pettit
<jpettit@nicira.com>
Thu, 15 May 2008 00:06:12 +0000
(17:06 -0700)
datapath/flow.c
patch
|
blob
|
history
diff --git
a/datapath/flow.c
b/datapath/flow.c
index 5e1140710b05c6e6c134e8c81a882b9926040aae..fde6dd37d9cc2e3f4831c438355b29047bbe0690 100644
(file)
--- 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,