diff options
author | Qu Wenruo <quwenruo@cn.fujitsu.com> | 2014-12-19 14:13:10 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2014-12-19 15:04:56 +0100 |
commit | fc42d7f1df4d6cf43ad73fb3f688819eede48cbf (patch) | |
tree | f53a94a3862c521e4b19437b9820aadf4b581251 /radix-tree.c | |
parent | e363f6ba095a646dd6634939a43b0db17f34577f (diff) |
btrfs-progs: Remove a unused function root_gtp_mask().
Fix the following clang warning when compiling btrfs-progs:
radix-tree.c:78:21: warning: unused function 'root_gfp_mask'
[-Wunused-function]
static inline gfp_t root_gfp_mask(struct radix_tree_root *root)
^
1 warning generated.
Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Reviewed-by: Satoru Takeuchi <takeuchi_satoru@jp.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'radix-tree.c')
-rw-r--r-- | radix-tree.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/radix-tree.c b/radix-tree.c index 74579449..f259ab56 100644 --- a/radix-tree.c +++ b/radix-tree.c @@ -75,11 +75,6 @@ struct radix_tree_preload { }; static struct radix_tree_preload radix_tree_preloads = { 0, }; -static inline gfp_t root_gfp_mask(struct radix_tree_root *root) -{ - return root->gfp_mask & __GFP_BITS_MASK; -} - static int internal_nodes = 0; /* * This assumes that the caller has performed appropriate preallocation, and |