summaryrefslogtreecommitdiffstats
path: root/drivers/md/raid10.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md/raid10.c')
-rw-r--r--drivers/md/raid10.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/md/raid10.c b/drivers/md/raid10.c
index e79f1c5bf71..c0d0f5f7e40 100644
--- a/drivers/md/raid10.c
+++ b/drivers/md/raid10.c
@@ -2256,8 +2256,6 @@ static int run(mddev_t *mddev)
if (!conf)
goto out;
- mddev->queue->queue_lock = &conf->device_lock;
-
mddev->thread = conf->thread;
conf->thread = NULL;