X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=ofproto%2Fconnmgr.c;h=7e7aaae3d153d1617888722f31fbe211e5143dd1;hb=4cf41591f33c9c2ca0ac288ffafd3be68d62f823;hp=d49c0698b944f81ab1337c53b3de11d7fd2912c0;hpb=6c1491fbd75754d2e4d5028650554f9d5d3a4958;p=openvswitch diff --git a/ofproto/connmgr.c b/ofproto/connmgr.c index d49c0698..7e7aaae3 100644 --- a/ofproto/connmgr.c +++ b/ofproto/connmgr.c @@ -395,7 +395,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. @@ -423,7 +422,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;