X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=ofproto%2Fconnmgr.c;h=a76dc8e8084b790874e38dba40780e0b8bba9a77;hb=dc432c2e8159a406e0e45fae4ff49532191b9129;hp=83b3159e86189b4644a4b8bcff2e28b9ad595ef1;hpb=81e2083fe6b7c16055f01c4b1e40f25867594bf6;p=openvswitch diff --git a/ofproto/connmgr.c b/ofproto/connmgr.c index 83b3159e..a76dc8e8 100644 --- a/ofproto/connmgr.c +++ b/ofproto/connmgr.c @@ -393,7 +393,6 @@ connmgr_set_controllers(struct connmgr *mgr, struct shash new_controllers; struct ofconn *ofconn, *next_ofconn; struct ofservice *ofservice, *next_ofservice; - bool ss_exists; size_t i; /* Create newly configured controllers and services. @@ -421,7 +420,6 @@ connmgr_set_controllers(struct connmgr *mgr, /* Delete controllers that are no longer configured. * Update configuration of all now-existing controllers. */ - ss_exists = false; HMAP_FOR_EACH_SAFE (ofconn, next_ofconn, hmap_node, &mgr->controllers) { struct ofproto_controller *c;