mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 19:56:18 +00:00
lib: radix_tree.c make percpu variable static
radix_tree_preloads is unused outside of this file, make it static. Noticed by sparse: lib/radix-tree.c:84:1: warning: symbol 'per_cpu__radix_tree_preloads' was not declared. Should it be static? Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
40bc1f2dbc
commit
8cef7d57a4
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ struct radix_tree_preload {
|
||||||
int nr;
|
int nr;
|
||||||
struct radix_tree_node *nodes[RADIX_TREE_MAX_PATH];
|
struct radix_tree_node *nodes[RADIX_TREE_MAX_PATH];
|
||||||
};
|
};
|
||||||
DEFINE_PER_CPU(struct radix_tree_preload, radix_tree_preloads) = { 0, };
|
static DEFINE_PER_CPU(struct radix_tree_preload, radix_tree_preloads) = { 0, };
|
||||||
|
|
||||||
static inline gfp_t root_gfp_mask(struct radix_tree_root *root)
|
static inline gfp_t root_gfp_mask(struct radix_tree_root *root)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue