Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Bhumika Goyal and committed by
Greg Kroah-Hartman
63986883 da58688f

+2 -1
+2 -1
drivers/staging/lustre/lustre/obdclass/cl_object.c
··· 362 362 atomic_set(&cs->cs_stats[i], 0); 363 363 } 364 364 365 - int cache_stats_print(const struct cache_stats *cs, struct seq_file *m, int h) 365 + static int cache_stats_print(const struct cache_stats *cs, 366 + struct seq_file *m, int h) 366 367 { 367 368 int i; 368 369 /*