From f19f13f1c0c1824ac80bf1cfe8be8bc246e367a2 Mon Sep 17 00:00:00 2001 From: Dan Carpenter Date: Fri, 6 Jul 2018 20:38:04 +0300 Subject: [PATCH] conditions: delete unused function I changed this code but forgot to delete the unused function. Signed-off-by: Dan Carpenter --- smatch_conditions.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/smatch_conditions.c b/smatch_conditions.c index 0d34434a..11311889 100644 --- a/smatch_conditions.c +++ b/smatch_conditions.c @@ -609,17 +609,6 @@ static int is_select_assign(struct expression *expr) return 0; } -static void set_fake_assign(struct expression *new, - struct expression *left, int op, struct expression *right) -{ - - new->pos = left->pos; - new->op = op; - new->type = EXPR_ASSIGNMENT; - new->left = left; - new->right = right; -} - int __handle_select_assigns(struct expression *expr) { struct expression *right; -- 2.11.4.GIT