[ovs-dev] [PATCH 2/4] ofproto-dpif: remove a redundant assignment

Andy Zhou azhou at nicira.com
Thu May 22 18:04:39 UTC 2014


Signed-off-by: Andy Zhou <azhou at nicira.com>
---
 ofproto/ofproto-dpif.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/ofproto/ofproto-dpif.c b/ofproto/ofproto-dpif.c
index ab56728..460f5e1 100644
--- a/ofproto/ofproto-dpif.c
+++ b/ofproto/ofproto-dpif.c
@@ -3653,7 +3653,6 @@ group_dpif_lookup(struct ofproto_dpif *ofproto, uint32_t group_id,
     struct ofgroup *ofgroup;
     bool found;
 
-    *group = NULL;
     found = ofproto_group_lookup(&ofproto->up, group_id, &ofgroup);
     *group = found ?  group_dpif_cast(ofgroup) : NULL;
 
-- 
1.9.1




More information about the dev mailing list