linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] locking: remove duplicate include of percpu-rwsem.h
@ 2020-11-07  8:24 Wang Qing
  2020-11-07 19:30 ` Paul E. McKenney
  0 siblings, 1 reply; 2+ messages in thread
From: Wang Qing @ 2020-11-07  8:24 UTC (permalink / raw)
  To: Davidlohr Bueso, Paul E. McKenney, Josh Triplett, linux-kernel; +Cc: Wang Qing

Remove duplicate header include which is unnecessary.

Signed-off-by: Wang Qing <wangqing@vivo.com>
---
 kernel/locking/locktorture.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/kernel/locking/locktorture.c b/kernel/locking/locktorture.c
index 62d215b..af99e9c 100644
--- a/kernel/locking/locktorture.c
+++ b/kernel/locking/locktorture.c
@@ -27,7 +27,6 @@
 #include <linux/moduleparam.h>
 #include <linux/delay.h>
 #include <linux/slab.h>
-#include <linux/percpu-rwsem.h>
 #include <linux/torture.h>
 
 MODULE_LICENSE("GPL");
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] locking: remove duplicate include of percpu-rwsem.h
  2020-11-07  8:24 [PATCH] locking: remove duplicate include of percpu-rwsem.h Wang Qing
@ 2020-11-07 19:30 ` Paul E. McKenney
  0 siblings, 0 replies; 2+ messages in thread
From: Paul E. McKenney @ 2020-11-07 19:30 UTC (permalink / raw)
  To: Wang Qing; +Cc: Davidlohr Bueso, Josh Triplett, linux-kernel

On Sat, Nov 07, 2020 at 04:24:03PM +0800, Wang Qing wrote:
> Remove duplicate header include which is unnecessary.
> 
> Signed-off-by: Wang Qing <wangqing@vivo.com>

Queued for further review and testing, thank you!

I had to apply against v5.10-rc1 and then cherry-pick the result, which
did work fine.  However, in the future, could you please post patches
against the -rcu tree's "dev" branch?

Please see https://kernel.org/pub/linux/kernel/people/paulmck/rcutodo.html
for more information.

And as always, I could not resist a bit of wordsmithing, so please see
below and let me know if I messed anything up.

							Thanx, Paul

------------------------------------------------------------------------

commit ad6dcb7c338ad322ddeeb75594bc77dcdbeb43de
Author: Wang Qing <wangqing@vivo.com>
Date:   Sat Nov 7 16:24:03 2020 +0800

    locking: Remove duplicate include of percpu-rwsem.h
    
    This commit removes an unnecessary #include.
    
    Signed-off-by: Wang Qing <wangqing@vivo.com>
    Signed-off-by: Paul E. McKenney <paulmck@kernel.org>

diff --git a/kernel/locking/locktorture.c b/kernel/locking/locktorture.c
index fd838ce..0ab94e1 100644
--- a/kernel/locking/locktorture.c
+++ b/kernel/locking/locktorture.c
@@ -27,7 +27,6 @@
 #include <linux/moduleparam.h>
 #include <linux/delay.h>
 #include <linux/slab.h>
-#include <linux/percpu-rwsem.h>
 #include <linux/torture.h>
 #include <linux/reboot.h>
 

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-11-07 19:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-07  8:24 [PATCH] locking: remove duplicate include of percpu-rwsem.h Wang Qing
2020-11-07 19:30 ` Paul E. McKenney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).