summaryrefslogtreecommitdiffstats
path: root/drivers/md/raid10.c
diff options
context:
space:
mode:
authorGuoqing Jiang <guoqing.jiang@linux.dev>2021-10-04 17:34:53 +0200
committerJens Axboe <axboe@kernel.dk>2021-10-18 22:50:33 +0200
commit5467948604baba60e9c4610de8edb8efe7f01f18 (patch)
tree1eda6556b1884339873b08c4fe173f45ea5a840c /drivers/md/raid10.c
parentmd/raid5: call roundup_pow_of_two in raid5_run (diff)
downloadlinux-5467948604baba60e9c4610de8edb8efe7f01f18.tar.xz
linux-5467948604baba60e9c4610de8edb8efe7f01f18.zip
md: remove unused argument from md_new_event
Actually, mddev is not used by md_new_event. Signed-off-by: Guoqing Jiang <guoqing.jiang@linux.dev> Signed-off-by: Song Liu <songliubraving@fb.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/md/raid10.c')
-rw-r--r--drivers/md/raid10.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/raid10.c b/drivers/md/raid10.c
index aa2636582841..dde98f65bd04 100644
--- a/drivers/md/raid10.c
+++ b/drivers/md/raid10.c
@@ -4647,7 +4647,7 @@ out:
}
conf->reshape_checkpoint = jiffies;
md_wakeup_thread(mddev->sync_thread);
- md_new_event(mddev);
+ md_new_event();
return 0;
abort: