From f124389c9c54fbba66f3421448e1134eb5321de0 Mon Sep 17 00:00:00 2001 From: Joe Stringer Date: Fri, 23 May 2014 16:33:50 +1200 Subject: [PATCH] xcache: Remove unused field xc_entry.u.learn.ofproto. Signed-off-by: Joe Stringer Acked-by: Alex Wang --- ofproto/ofproto-dpif-xlate.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/ofproto/ofproto-dpif-xlate.c b/ofproto/ofproto-dpif-xlate.c index 022c4c7d2..43d857136 100644 --- a/ofproto/ofproto-dpif-xlate.c +++ b/ofproto/ofproto-dpif-xlate.c @@ -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, -- 2.39.2