loop: Fold __loop_release into loop_release
authorJan Kara <jack@suse.cz>
Thu, 8 Nov 2018 13:01:03 +0000 (14:01 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Jan 2019 20:40:36 +0000 (21:40 +0100)
commit38d9cce3d61fe8d6ba24413eba74b4c8d24797f9
treeffe749d32ae67dbffaab21c36e8171c83a082b35
parent342b3360aeb1d1639cac996a042016ee063845e9
loop: Fold __loop_release into loop_release

commit 967d1dc144b50ad005e5eecdfadfbcfb399ffff6 upstream.

__loop_release() has a single call site. Fold it there. This is
currently not a huge win but it will make following replacement of
loop_index_mutex more obvious.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/block/loop.c