[ovs-dev] [sparse 1/4] datapath: Remove shadowed 'err' variable.
Ben Pfaff
blp at nicira.com
Mon Dec 27 23:38:10 UTC 2010
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 <blp at nicira.com>
---
datapath/actions.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/datapath/actions.c b/datapath/actions.c
index 299c16a..32053f0 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;
--
1.7.1
More information about the dev
mailing list