X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=ofproto%2Fconnmgr.c;h=2d0b8c5d5a56ff963951389bfb90a32aee6dced1;hb=0c58c0c4da31b554e88be581cca39d314ded9b6b;hp=38052ac5ee52ce13f60fc5ecaf5812e2476c2448;hpb=6da1e8091eb2e19de7ba5e0c73ac3e7dd437743d;p=openvswitch diff --git a/ofproto/connmgr.c b/ofproto/connmgr.c index 38052ac5..2d0b8c5d 100644 --- a/ofproto/connmgr.c +++ b/ofproto/connmgr.c @@ -849,13 +849,6 @@ ofconn_has_pending_opgroups(const struct ofconn *ofconn) return !list_is_empty(&ofconn->opgroups); } -/* Returns the number of pending opgroups on 'ofconn'. */ -size_t -ofconn_n_pending_opgroups(const struct ofconn *ofconn) -{ - return list_size(&ofconn->opgroups); -} - /* Adds 'ofconn_node' to 'ofconn''s list of pending opgroups. * * If 'ofconn' is destroyed or its connection drops, then 'ofconn' will remove