diff options
Diffstat (limited to 'drivers/md/multipath.c')
-rw-r--r-- | drivers/md/multipath.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/md/multipath.c b/drivers/md/multipath.c index fedb1b31877d..9fe34453835b 100644 --- a/drivers/md/multipath.c +++ b/drivers/md/multipath.c | |||
@@ -504,8 +504,6 @@ static int multipath_stop (struct mddev *mddev) | |||
504 | { | 504 | { |
505 | struct mpconf *conf = mddev->private; | 505 | struct mpconf *conf = mddev->private; |
506 | 506 | ||
507 | md_unregister_thread(&mddev->thread); | ||
508 | blk_sync_queue(mddev->queue); /* the unplug fn references 'conf'*/ | ||
509 | mempool_destroy(conf->pool); | 507 | mempool_destroy(conf->pool); |
510 | kfree(conf->multipaths); | 508 | kfree(conf->multipaths); |
511 | kfree(conf); | 509 | kfree(conf); |