[ovs-dev] [PATCH] ofp-actions: Remove unused variable.

Ben Pfaff blp at nicira.com
Tue Oct 16 22:41:37 UTC 2012


On Tue, Oct 16, 2012 at 03:40:46PM -0700, Ethan Jackson wrote:
> Signed-off-by: Ethan Jackson <ethan at nicira.com>

Looks good, thanks.

> ---
>  lib/ofp-actions.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/lib/ofp-actions.c b/lib/ofp-actions.c
> index 4a72e29..4a63acb 100644
> --- a/lib/ofp-actions.c
> +++ b/lib/ofp-actions.c
> @@ -1544,8 +1544,7 @@ ofpacts_put_openflow11_instructions(const struct ofpact ofpacts[],
>          /* TODO:XXX Write-Actions */
>          /* TODO:XXX Write-Metadata */
>          if (a->type == OFPACT_CLEAR_ACTIONS) {
> -            struct ofp11_instruction *oi;
> -            oi = instruction_put_OFPIT11_CLEAR_ACTIONS(openflow);
> +            instruction_put_OFPIT11_CLEAR_ACTIONS(openflow);
>          } else if (a->type == OFPACT_GOTO_TABLE) {
>              struct ofp11_instruction_goto_table *oigt;
>  
> -- 
> 1.7.12
> 
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev



More information about the dev mailing list