Skip to content

Commit ac5f636

Browse files
Ethan Hansenpaulmckrcu
authored andcommitted
rcu: Remove unused function rcutorture_record_progress()
The function rcutorture_record_progress() is declared in rcu.h, but is never used. This commit therefore removes rcutorture_record_progress() to clean code. Signed-off-by: Ethan Hansen <[email protected]> Signed-off-by: Paul E. McKenney <[email protected]>
1 parent 54ecb8f commit ac5f636

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

kernel/rcu/rcu.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,6 @@ enum rcutorture_type {
455455
#if defined(CONFIG_TREE_RCU) || defined(CONFIG_PREEMPT_RCU)
456456
void rcutorture_get_gp_data(enum rcutorture_type test_type, int *flags,
457457
unsigned long *gp_seq);
458-
void rcutorture_record_progress(unsigned long vernum);
459458
void do_trace_rcu_torture_read(const char *rcutorturename,
460459
struct rcu_head *rhp,
461460
unsigned long secs,
@@ -468,7 +467,6 @@ static inline void rcutorture_get_gp_data(enum rcutorture_type test_type,
468467
*flags = 0;
469468
*gp_seq = 0;
470469
}
471-
static inline void rcutorture_record_progress(unsigned long vernum) { }
472470
#ifdef CONFIG_RCU_TRACE
473471
void do_trace_rcu_torture_read(const char *rcutorturename,
474472
struct rcu_head *rhp,

0 commit comments

Comments
 (0)