md: fold unbind_rdev_from_array into md_kick_rdev_from_array
authorChristoph Hellwig <hch@lst.de>
Tue, 29 Nov 2022 13:32:55 +0000 (14:32 +0100)
committerSong Liu <song@kernel.org>
Fri, 2 Dec 2022 19:21:01 +0000 (11:21 -0800)
commitb5c1acf012a7a73e3d0c5c3605ececcca6797267
tree4686f13932ba3a6712d20ea4a7f69c05ceaae7af
parentd57d9d6965502fd0ca95f17180d655f6dc196002
md: fold unbind_rdev_from_array into md_kick_rdev_from_array

unbind_rdev_from_array is only called from md_kick_rdev_from_array, so
merge it into its only caller.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Song Liu <song@kernel.org>
drivers/md/md.c