[ovs-dev] [PATCH] bond: Remove dead conditional.

Ethan Jackson ethan at nicira.com
Fri Nov 18 03:55:41 UTC 2011


---
 lib/bond.c |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/lib/bond.c b/lib/bond.c
index 90498f6..bb5d499 100644
--- a/lib/bond.c
+++ b/lib/bond.c
@@ -1001,11 +1001,7 @@ bond_unixctl_show(struct unixctl_conn *conn,
             ds_put_format(&ds, "\thash %d: %"PRIu64" kB load\n",
                           hash, be->tx_bytes / 1024);
 
-            if (bond->balance != BM_SLB) {
-                continue;
-            }
-
-            /* XXX How can we list the MACs assigned to hashes? */
+            /* XXX How can we list the MACs assigned to hashes of SLB bonds? */
         }
     }
     unixctl_command_reply(conn, 200, ds_cstr(&ds));
-- 
1.7.7.1




More information about the dev mailing list