locking: remove duplicate include of percpu-rwsem.h
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
@@ -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
Paul E. McKenney
maintainerQuoted 3 lines · Wang Qing
Remove duplicate header include which is unnecessary.
Signed-off-by Wang Qing <[email protected]>
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
@@ -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>