diff options
author | Christoph Hellwig <hch@lst.de> | 2020-06-07 16:56:05 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2020-07-16 15:35:28 +0200 |
commit | d1100488c3ce11b853785cf15ee4c19bfab4c842 (patch) | |
tree | 35e19639c51f9116946204dfe4568f4e282119da /drivers/md/md.h | |
parent | 1a6a050620e496abf42749a2e1d3882645cc053f (diff) |
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: Christoph Hellwig <hch@lst.de>
Reviewed-by: NeilBrown <neilb@suse.de>
Acked-by: Song Liu <song@kernel.org>
Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/md/md.h')
0 files changed, 0 insertions, 0 deletions