Skip to contentSkip to conversation

locking: remove duplicate include of percpu-rwsem.h

PATCH In review Wang Qing 2 participants 2 messages Nov 7, 2020 Torture-test modules

lore
Share & tools
lore

Wang Qing

author
#0 lore raw

PATCH 1/1 locking: remove duplicate include of percpu-rwsem.h

Remove duplicate header include which is unnecessary.

---
 kernel/locking/locktorture.c | 1 -
 1 file changed, 1 deletion(-)
kernel/locking/locktorture.c +0 -1
index 62d215b..af99e9c 100644
@@ -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");
Signature · 1 line
2.7.4
maintainer
#1 lore raw
Quoted 3 lines · Wang Qing

Remove duplicate header include which is unnecessary.

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 <[email protected]>
Date:   Sat Nov 7 16:24:03 2020 +0800

locking: Remove duplicate include of percpu-rwsem.h

This commit removes an unnecessary #include.

kernel/locking/locktorture.c +0 -1
index fd838ce..0ab94e1 100644
@@ -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>