xcache: Remove unused field xc_entry.u.learn.ofproto.
authorJoe Stringer <joestringer@nicira.com>
Fri, 23 May 2014 04:33:50 +0000 (16:33 +1200)
committerJoe Stringer <joestringer@nicira.com>
Mon, 26 May 2014 21:53:43 +0000 (09:53 +1200)
Signed-off-by: Joe Stringer <joestringer@nicira.com>
Acked-by: Alex Wang <alexw@nicira.com>
ofproto/ofproto-dpif-xlate.c

index 022c4c7..43d8571 100644 (file)
@@ -267,7 +267,6 @@ struct xc_entry {
             uint16_t vid;
         } bond;
         struct {
-            struct ofproto_dpif *ofproto;
             struct rule_dpif *rule;
         } learn;
         struct {
@@ -2689,7 +2688,6 @@ xlate_learn_action(struct xlate_ctx *ctx,
         struct xc_entry *entry;
 
         entry = xlate_cache_add_entry(ctx->xin->xcache, XC_LEARN);
-        entry->u.learn.ofproto = ctx->xin->ofproto;
         /* Lookup the learned rule, taking a reference on it.  The reference
          * is released when this cache entry is deleted. */
         rule_dpif_lookup(ctx->xbridge->ofproto, &ctx->xin->flow, NULL,