Skip to content

Commit

Permalink
connmgr: Remove unused function ofconn_n_pending_opgroups().
Browse files Browse the repository at this point in the history
  • Loading branch information
blp committed Aug 15, 2011
1 parent 934264e commit 747b434
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
7 changes: 0 additions & 7 deletions ofproto/connmgr.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion ofproto/connmgr.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 *,
Expand Down

0 comments on commit 747b434

Please sign in to comment.