diff options
author | 2020-01-02 17:14:57 +0100 | |
---|---|---|
committer | 2020-01-20 16:41:01 +0100 | |
commit | ef0a82da81d689860a36cf058497dad2a5ae32c5 (patch) | |
tree | a5434b870445c6b9ad2edc253285a5ecc4ab40a7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | btrfs: add correction to handle -1 edge case in async discard (diff) | |
download | wireguard-linux-ef0a82da81d689860a36cf058497dad2a5ae32c5.tar.xz wireguard-linux-ef0a82da81d689860a36cf058497dad2a5ae32c5.zip |
btrfs: remove unnecessary wrapper get_alloc_profile
btrfs_get_alloc_profile() is a simple wrapper over get_alloc_profile().
The only difference is btrfs_get_alloc_profile() is visible to other
functions in btrfs while get_alloc_profile() is static and thus only
visible to functions in block-group.c.
Let's just fold get_alloc_profile() into btrfs_get_alloc_profile() to
get rid of the unnecessary second function.
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: Johannes Thumshirn <jth@kernel.org>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions