Commit 2990750b authored by Paul E. McKenney's avatar Paul E. McKenney

refperf: Make functions static

Because the reset_readers() and process_durations() functions are used
only within kernel/rcu/refperf.c, this commit makes them static.
Reported-by: default avatarkbuild test robot <lkp@intel.com>
Cc: Joel Fernandes (Google) <joel@joelfernandes.org>
Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
parent 2e90de76
...@@ -283,7 +283,7 @@ ref_perf_reader(void *arg) ...@@ -283,7 +283,7 @@ ref_perf_reader(void *arg)
return 0; return 0;
} }
void reset_readers(void) static void reset_readers(void)
{ {
int i; int i;
struct reader_task *rt; struct reader_task *rt;
...@@ -296,7 +296,7 @@ void reset_readers(void) ...@@ -296,7 +296,7 @@ void reset_readers(void)
} }
// Print the results of each reader and return the sum of all their durations. // Print the results of each reader and return the sum of all their durations.
u64 process_durations(int n) static u64 process_durations(int n)
{ {
int i; int i;
struct reader_task *rt; struct reader_task *rt;
......
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