summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/base/revocable.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/base/revocable.c b/drivers/base/revocable.c
index f6cece275aac..b068e18a847d 100644
--- a/drivers/base/revocable.c
+++ b/drivers/base/revocable.c
@@ -99,7 +99,6 @@ struct revocable_provider *revocable_provider_alloc(void *res)
init_srcu_struct(&rp->srcu);
rcu_assign_pointer(rp->res, res);
- synchronize_srcu(&rp->srcu);
kref_init(&rp->kref);
return rp;