Patchwork [2/4] evaluate: Remove useless variable in expr_evaluate_bitwise()

login
register
mail settings
Submitter Tomasz Bursztyka
Date Aug. 2, 2012, 10:31 a.m.
Message ID <1343903495-14486-3-git-send-email-tomasz.bursztyka@linux.intel.com>
Download mbox | patch
Permalink /patch/174720/
State Accepted
Headers show

Comments

Tomasz Bursztyka - Aug. 2, 2012, 10:31 a.m.
Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
---
 src/evaluate.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

Patch

diff --git a/src/evaluate.c b/src/evaluate.c
index 507aab0..a371c24 100644
--- a/src/evaluate.c
+++ b/src/evaluate.c
@@ -493,11 +493,10 @@  static int expr_evaluate_shift(struct eval_ctx *ctx, struct expr **expr)
 
 static int expr_evaluate_bitwise(struct eval_ctx *ctx, struct expr **expr)
 {
-	struct expr *op = *expr, *left = op->left, *right = op->right;
+	struct expr *op = *expr, *left = op->left;
 
 	if (byteorder_conversion(ctx, &op->right, left->byteorder) < 0)
 		return -1;
-	right = op->right;
 
 	op->dtype     = left->dtype;
 	op->byteorder = left->byteorder;