From: Ben Pfaff Date: Mon, 27 Dec 2010 23:18:37 +0000 (-0800) Subject: datapath: Remove shadowed 'err' variable. X-Git-Tag: v1.1.0~584 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=7f7439e31523643f48479325a250cc92f66b9fc8;p=sliver-openvswitch.git 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 --- 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;