From 7f7439e31523643f48479325a250cc92f66b9fc8 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Mon, 27 Dec 2010 15:18:37 -0800 Subject: [PATCH] datapath: Remove shadowed 'err' variable. sparse reported that 'err' was declared in two different places in this function. This patch removes the inner one. I verified that this didn't affect correctness either way, so this is not a bug fix. Signed-off-by: Ben Pfaff Acked-by: Jesse Gross --- datapath/actions.c | 1 - 1 file changed, 1 deletion(-) diff --git a/datapath/actions.c b/datapath/actions.c index 299c16ac2..32053f01f 100644 --- a/datapath/actions.c +++ b/datapath/actions.c @@ -150,7 +150,6 @@ static struct sk_buff *modify_vlan_tci(struct datapath *dp, struct sk_buff *skb, do { struct sk_buff *nskb = segs->next; - int err; segs->next = NULL; -- 2.43.0