From: Heinz Mauelshagen <heinzm@xxxxxxxxxx> Signed-off-by: heinzm <heinzm@xxxxxxxxxx> --- drivers/md/md.c | 1 - drivers/md/raid0.c | 1 - drivers/md/raid10.c | 1 - 3 files changed, 3 deletions(-) diff --git a/drivers/md/md.c b/drivers/md/md.c index 3d17773e058f..4ea6b685a88c 100644 --- a/drivers/md/md.c +++ b/drivers/md/md.c @@ -9154,7 +9154,6 @@ void md_do_sync(struct md_thread *thread) wake_up(&resync_wait); md_wakeup_thread(mddev->thread); - return; } EXPORT_SYMBOL_GPL(md_do_sync); diff --git a/drivers/md/raid0.c b/drivers/md/raid0.c index f8897ab4baeb..e140fc37df68 100644 --- a/drivers/md/raid0.c +++ b/drivers/md/raid0.c @@ -587,7 +587,6 @@ static bool raid0_make_request(struct mddev *mddev, struct bio *bio) static void raid0_status(struct seq_file *seq, struct mddev *mddev) { seq_printf(seq, " %dk chunks", mddev->chunk_sectors / 2); - return; } static void *raid0_takeover_raid45(struct mddev *mddev) diff --git a/drivers/md/raid10.c b/drivers/md/raid10.c index 60d7b1af229e..60b1c7b9357f 100644 --- a/drivers/md/raid10.c +++ b/drivers/md/raid10.c @@ -1266,7 +1266,6 @@ static void raid10_read_request(struct mddev *mddev, struct bio *bio, if (mddev->gendisk) trace_block_bio_remap(read_bio, disk_devt(mddev->gendisk), r10_bio->sector); submit_bio_noacct(read_bio); - return; } static void raid10_write_one_disk(struct mddev *mddev, struct r10bio *r10_bio, -- 2.39.2