mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
Staging: lustre: obdclass: Declare function as static
Declare the function cache_stats_print as static since it is used only in this file. Used grep to find occurences. Problem found using sparse. Signed-off-by: Bhumika Goyal <bhumirks@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
da58688fb0
commit
639868832a
1 changed files with 2 additions and 1 deletions
|
|
@ -362,7 +362,8 @@ void cache_stats_init(struct cache_stats *cs, const char *name)
|
|||
atomic_set(&cs->cs_stats[i], 0);
|
||||
}
|
||||
|
||||
int cache_stats_print(const struct cache_stats *cs, struct seq_file *m, int h)
|
||||
static int cache_stats_print(const struct cache_stats *cs,
|
||||
struct seq_file *m, int h)
|
||||
{
|
||||
int i;
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue