SH: No need to explicitly include <linux/rwlock.h>.
PATCH 1/1 SH: No need to explicitly include <linux/rwlock.h>.
Since <linux/spinlock.h> already includes <linux/rwlock.h>, and the latter file will warn about not having included the former file anyway, there is no value in including rwlock.h explicitly.
Signed-off-by Robert P. J. Day <[email protected]>
---
arch/sh/mm/pmb.c +0 -1
@@ -23,7 +23,6 @@#include <linux/err.h> #include <linux/io.h> #include <linux/spinlock.h> -#include <linux/rwlock.h> #include <asm/sizes.h> #include <asm/system.h> #include <asm/uaccess.h>
====================================
Robert P. J. Day Waterloo, Ontario, CANADA
Linux Consulting, Training and Kernel Pedantry.
Web page: http://crashcourse.ca Twitter: http://twitter.com/rpjday
====================================