git://git.onelab.eu
/
sliver-openvswitch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
934264e
)
connmgr: Remove unused function ofconn_n_pending_opgroups().
author
Ben Pfaff
<blp@nicira.com>
Wed, 10 Aug 2011 19:46:36 +0000
(12:46 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Mon, 15 Aug 2011 16:49:16 +0000
(09:49 -0700)
ofproto/connmgr.c
patch
|
blob
|
history
ofproto/connmgr.h
patch
|
blob
|
history
diff --git
a/ofproto/connmgr.c
b/ofproto/connmgr.c
index
38052ac
..
2d0b8c5
100644
(file)
--- 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);
}
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
/* 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
31416a1
..
ea39b72
100644
(file)
--- 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);
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 *,
bool ofconn_has_pending_opgroups(const struct ofconn *);
void ofconn_add_opgroup(struct ofconn *, struct list *);
void ofconn_remove_opgroup(struct ofconn *, struct list *,