summaryrefslogtreecommitdiff
path: root/ofproto/ofproto.h
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2010-10-01 15:59:56 -0700
committerBen Pfaff <blp@nicira.com>2010-10-11 10:40:05 -0700
commit0bb5c3ec4dde32bfbdf8b63296d0580f33f829dd (patch)
treefcc9b4d8c28de64ea97b29461a8ca98132cc8321 /ofproto/ofproto.h
parent784032d000c5be2cbbcf1a4779f398be503029c4 (diff)
downloadopenvswitch-0bb5c3ec4dde32bfbdf8b63296d0580f33f829dd.tar.gz
ofproto: Get rid of port_changed_cb.
Jesse pointed out that port_changed_cb isn't a great interface. It's only around because, earlier, we had a lousy interface for monitoring netdev status, so that we needed to pass along information obtained by ofproto into the bridge. But netdev_monitor is now sufficiently sophisticated that the bridge can set up an independent netdev_monitor without any important loss of efficiency. Since this makes the code cleaner, this commit does so.
Diffstat (limited to 'ofproto/ofproto.h')
-rw-r--r--ofproto/ofproto.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/ofproto/ofproto.h b/ofproto/ofproto.h
index e39c6c0d9..7ba4acb45 100644
--- a/ofproto/ofproto.h
+++ b/ofproto/ofproto.h
@@ -140,8 +140,6 @@ void ofproto_flush_flows(struct ofproto *);
/* Hooks for ovs-vswitchd. */
struct ofhooks {
- void (*port_changed_cb)(enum ofp_port_reason, const struct ofp_phy_port *,
- void *aux);
bool (*normal_cb)(const flow_t *, const struct ofpbuf *packet,
struct odp_actions *, tag_type *,
uint16_t *nf_output_iface, void *aux);