lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Thu, 1 Aug 2019 16:22:24 -0700
From:   "Paul E. McKenney" <paulmck@...ux.ibm.com>
To:     Ethan Hansen <1ethanhansen@...il.com>
Cc:     rcu@...r.kernel.org, linux-kernel@...r.kernel.org,
        josh@...htriplett.org, rostedt@...dmis.org,
        mathieu.desnoyers@...icios.com, jiangshanlai@...il.com,
        joel@...lfernandes.org
Subject: Re: [PATCH tip/core/rcu 1/1] rcu: Remove unused function
 rcutorture_record_progress

On Thu, Aug 01, 2019 at 02:00:40PM -0700, Ethan Hansen wrote:
> The function rcutorture_record_progress is declared in rcu.h,
> but is never used. Remove rcutorture_record_progress to clean code.
> 
> Signed-off-by: Ethan Hansen <1ethanhansen@...il.com>

Good eyes!  Queued, likely for v5.5, thank you!

							Thanx, Paul

> ---
>  kernel/rcu/rcu.h | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/kernel/rcu/rcu.h b/kernel/rcu/rcu.h
> index 8fd4f82..aeec70f 100644
> --- a/kernel/rcu/rcu.h
> +++ b/kernel/rcu/rcu.h
> @@ -455,7 +455,6 @@ enum rcutorture_type {
>  #if defined(CONFIG_TREE_RCU) || defined(CONFIG_PREEMPT_RCU)
>  void rcutorture_get_gp_data(enum rcutorture_type test_type, int *flags,
>  			    unsigned long *gp_seq);
> -void rcutorture_record_progress(unsigned long vernum);
>  void do_trace_rcu_torture_read(const char *rcutorturename,
>  			       struct rcu_head *rhp,
>  			       unsigned long secs,
> @@ -468,7 +467,6 @@ static inline void rcutorture_get_gp_data(enum rcutorture_type test_type,
>  	*flags = 0;
>  	*gp_seq = 0;
>  }
> -static inline void rcutorture_record_progress(unsigned long vernum) { }
>  #ifdef CONFIG_RCU_TRACE
>  void do_trace_rcu_torture_read(const char *rcutorturename,
>  			       struct rcu_head *rhp,
> -- 
> 1.8.3.1
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ