From 334b37498849a3df59caa4ff92df84681ff26bd6 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Fri, 26 Jun 2009 12:20:02 -0700 Subject: [PATCH] datapath: Remove redundant synchronize_rcu() call. There is no benefit to synchronizing twice, and it might cost us a lot of time. --- datapath/datapath.c | 1 - 1 file changed, 1 deletion(-) diff --git a/datapath/datapath.c b/datapath/datapath.c index fc73cac3..6df08437 100644 --- a/datapath/datapath.c +++ b/datapath/datapath.c @@ -284,7 +284,6 @@ static void do_destroy_dp(struct datapath *dp, struct list_head *dp_devs) dp_del_port(p, dp_devs); rcu_assign_pointer(dps[dp->dp_idx], NULL); - synchronize_rcu(); /* Wait until no longer in use, then destroy it. */ synchronize_rcu(); -- 2.30.2