diff options
| author | Ben Pfaff <blp@nicira.com> | 2011-08-10 12:46:36 -0700 |
|---|---|---|
| committer | Ben Pfaff <blp@nicira.com> | 2011-08-15 09:49:16 -0700 |
| commit | 747b434cd8adc3f4ef26f456ffd45873dd748c0d (patch) | |
| tree | 6d8e7d7164c3b10e2e8205c1484bb923dd695a0f /ofproto | |
| parent | 934264ec17192617f4acb1a4bb8a8e41d6b17b68 (diff) | |
| download | openvswitch-747b434cd8adc3f4ef26f456ffd45873dd748c0d.tar.gz | |
connmgr: Remove unused function ofconn_n_pending_opgroups().
Diffstat (limited to 'ofproto')
| -rw-r--r-- | ofproto/connmgr.c | 7 | ||||
| -rw-r--r-- | ofproto/connmgr.h | 1 |
2 files changed, 0 insertions, 8 deletions
diff --git a/ofproto/connmgr.c b/ofproto/connmgr.c index 38052ac5e..2d0b8c5d5 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 diff --git a/ofproto/connmgr.h b/ofproto/connmgr.h index 31416a1f8..ea39b724e 100644 --- a/ofproto/connmgr.h +++ b/ofproto/connmgr.h @@ -98,7 +98,6 @@ void ofconn_send_error(const struct ofconn *, const struct ofp_header *request, int ofconn_pktbuf_retrieve(struct ofconn *, uint32_t id, struct ofpbuf **bufferp, uint16_t *in_port); -size_t ofconn_n_pending_opgroups(const struct ofconn *); bool ofconn_has_pending_opgroups(const struct ofconn *); void ofconn_add_opgroup(struct ofconn *, struct list *); void ofconn_remove_opgroup(struct ofconn *, struct list *, |
