Signed-off-by: Ales Musil <[email protected]>
---
 controller/chassis.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/controller/chassis.c b/controller/chassis.c
index 92850fcc1..ba6377ac2 100644
--- a/controller/chassis.c
+++ b/controller/chassis.c
@@ -581,7 +581,7 @@ chassis_get_record(struct ovsdb_idl_txn *ovnsb_idl_txn,
                    const struct sbrec_chassis **chassis_rec)
 {
     const struct sbrec_chassis *chassis =
-        chassis = chassis_lookup_by_name(sbrec_chassis_by_name, chassis_id);
+        chassis_lookup_by_name(sbrec_chassis_by_name, chassis_id);
 
     if (!chassis && ovnsb_idl_txn) {
         /* Create the chassis record. */
-- 
2.37.1

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to