Skip to content
Snippets Groups Projects
Commit d1100488 authored by Christoph Hellwig's avatar Christoph Hellwig
Browse files

md: simplify md_setup_drive


Move the loop over the possible arrays into the caller to remove a level
of indentation for the whole function.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarNeilBrown <neilb@suse.de>
Acked-by: default avatarSong Liu <song@kernel.org>
Acked-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 1a6a0506
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment