]> git.ipfire.org Git - thirdparty/linux.git/commit
btrfs: make btrfs_free_device() static
authorFilipe Manana <fdmanana@suse.com>
Wed, 26 Apr 2023 17:13:01 +0000 (18:13 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 19 Jun 2023 11:59:22 +0000 (13:59 +0200)
commitf2db4d5cb457b7da439d5509bdb6f7b01054c11b
treeeb5b4c8793326e366455c172dd4e7735197bd45f
parent1b53e51a4a8f870da194bcdaec9eb8865ee89386
btrfs: make btrfs_free_device() static

The function btrfs_free_device() is never used outside of volumes.c, so
make it static and remove its prototype declaration at volumes.h.

Reviewed-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/volumes.c
fs/btrfs/volumes.h