[ovs-dev] [PATCH 1/2] bond: Remove write-only variable.
Ben Pfaff
blp at nicira.com
Wed May 18 23:40:26 UTC 2011
---
lib/bond.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/lib/bond.c b/lib/bond.c
index 9caa3f2..5cb218d 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;
--
1.7.4.4
More information about the dev
mailing list