aboutsummaryrefslogtreecommitdiff
path: root/lib/bond.c
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2011-05-18 16:23:15 -0700
committerBen Pfaff <blp@nicira.com>2011-05-19 10:51:45 -0700
commit44dfa85908edbf26b5979082175e7c32a6aa974e (patch)
tree6c00c9650eda7c4506cc17f4b97a5e2386cf7415 /lib/bond.c
parentf7f2ec052c9fbbca6140830c0c34ef61d85196f3 (diff)
bond: Remove write-only variable.
Diffstat (limited to 'lib/bond.c')
-rw-r--r--lib/bond.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/bond.c b/lib/bond.c
index 9caa3f2e..5cb218da 100644
--- 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;