[ovs-dev] [reordering 4/7] ofproto-dpif: Remove write-only member 'key_fitness' from struct subfacet.

Jarno Rajahalme jrajahalme at nicira.com
Tue Sep 17 19:25:38 UTC 2013


Acked-by: Jarno Rajahalme <jrajahalme at nicira.com>

On Sep 16, 2013, at 2:59 PM, Ben Pfaff <blp at nicira.com> wrote:

> Signed-off-by: Ben Pfaff <blp at nicira.com>
> ---
> ofproto/ofproto-dpif.c |    3 ---
> 1 file changed, 3 deletions(-)
> 
> diff --git a/ofproto/ofproto-dpif.c b/ofproto/ofproto-dpif.c
> index 19f69e2..01299e1 100644
> --- a/ofproto/ofproto-dpif.c
> +++ b/ofproto/ofproto-dpif.c
> @@ -175,7 +175,6 @@ struct subfacet {
>     struct facet *facet;        /* Owning facet. */
>     struct dpif_backer *backer; /* Owning backer. */
> 
> -    enum odp_key_fitness key_fitness;
>     struct nlattr *key;
>     int key_len;
> 
> @@ -4500,7 +4499,6 @@ static struct subfacet *
> subfacet_create(struct facet *facet, struct flow_miss *miss)
> {
>     struct dpif_backer *backer = miss->ofproto->backer;
> -    enum odp_key_fitness key_fitness = miss->key_fitness;
>     const struct nlattr *key = miss->key;
>     size_t key_len = miss->key_len;
>     uint32_t key_hash;
> @@ -4528,7 +4526,6 @@ subfacet_create(struct facet *facet, struct flow_miss *miss)
>     hmap_insert(&backer->subfacets, &subfacet->hmap_node, key_hash);
>     list_push_back(&facet->subfacets, &subfacet->list_node);
>     subfacet->facet = facet;
> -    subfacet->key_fitness = key_fitness;
>     subfacet->key = xmemdup(key, key_len);
>     subfacet->key_len = key_len;
>     subfacet->used = miss->stats.used;
> -- 
> 1.7.10.4
> 
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev




More information about the dev mailing list