projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7f2ec0
)
bond: Remove write-only variable.
author
Ben Pfaff
<blp@nicira.com>
Wed, 18 May 2011 23:23:15 +0000
(16:23 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Thu, 19 May 2011 17:51:45 +0000
(10:51 -0700)
lib/bond.c
patch
|
blob
|
history
diff --git
a/lib/bond.c
b/lib/bond.c
index 9caa3f2efb745c6bd33cf87722c4d07f252c8349..5cb218daf62a0d458eaff07bac64f0db33b5d094 100644
(file)
--- a/
lib/bond.c
+++ b/
lib/bond.c
@@
-1033,7
+1033,6
@@
bond_unixctl_show(struct unixctl_conn *conn,
HMAP_FOR_EACH (slave, hmap_node, &bond->slaves) {
struct bond_entry *be;
- struct flow flow;
/* Basic info. */
ds_put_format(&ds, "\nslave %s: %s\n",
@@
-1055,7
+1054,6
@@
bond_unixctl_show(struct unixctl_conn *conn,
}
/* Hashes. */
- memset(&flow, 0, sizeof flow);
for (be = bond->hash; be <= &bond->hash[BOND_MASK]; be++) {
int hash = be - bond->hash;