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>
Sat, 26 Jan 2019 08:42:51 +0000 (09:42 +0100)
commit4ee414c3b6021db621901f2697d35774926268f6
tree9901d775cf6293c8adbb6c6cdcda301ba7dff3ab
parentb3f3107fbd928fed6e4fecbe3da2ed5f43216439
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