lkml.org 
[lkml]   [2020]   [Nov]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [PATCH] locking: remove duplicate include of percpu-rwsem.h
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>

\
 
 \ /
  Last update: 2020-11-07 20:30    [W:0.041 / U:4.760 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site