From 44dfa85908edbf26b5979082175e7c32a6aa974e Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Wed, 18 May 2011 16:23:15 -0700 Subject: [PATCH] bond: Remove write-only variable. --- lib/bond.c | 2 -- 1 file changed, 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; -- 2.30.2