[ovs-dev] [PATCH 4/4] ofproto-dpif-xlate: Coding style fix for bucket_is_alive()
Andy Zhou
azhou at nicira.com
Thu May 22 18:04:41 UTC 2014
Signed-off-by: Andy Zhou <azhou at nicira.com>
---
ofproto/ofproto-dpif-xlate.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/ofproto/ofproto-dpif-xlate.c b/ofproto/ofproto-dpif-xlate.c
index 67b7017..5b0791f 100644
--- a/ofproto/ofproto-dpif-xlate.c
+++ b/ofproto/ofproto-dpif-xlate.c
@@ -876,11 +876,11 @@ bucket_is_alive(const struct xlate_ctx *ctx,
return false;
}
- return !ofputil_bucket_has_liveness(bucket) ||
- (bucket->watch_port != OFPP_ANY &&
- odp_port_is_alive(ctx, bucket->watch_port)) ||
- (bucket->watch_group != OFPG_ANY &&
- group_is_alive(ctx, bucket->watch_group, depth + 1));
+ return !ofputil_bucket_has_liveness(bucket)
+ || (bucket->watch_port != OFPP_ANY
+ && odp_port_is_alive(ctx, bucket->watch_port))
+ || (bucket->watch_group != OFPG_ANY
+ && group_is_alive(ctx, bucket->watch_group, depth + 1));
}
static struct ofputil_bucket *
--
1.9.1
More information about the dev
mailing list