Commit 63986883 authored by Bhumika Goyal's avatar Bhumika Goyal Committed by Greg Kroah-Hartman

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: default avatarBhumika Goyal <bhumirks@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent da58688f
...@@ -362,7 +362,8 @@ void cache_stats_init(struct cache_stats *cs, const char *name) ...@@ -362,7 +362,8 @@ void cache_stats_init(struct cache_stats *cs, const char *name)
atomic_set(&cs->cs_stats[i], 0); 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; int i;
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment