sh: No need to explicitly include <linux/rwlock.h>.
authorRobert P. J. Day <rpjday@crashcourse.ca>
Sat, 27 Feb 2010 18:35:08 +0000 (18:35 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 1 Mar 2010 02:57:32 +0000 (11:57 +0900)
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 <rpjday@crashcourse.ca>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/mm/pmb.c

index 198bcff5e96f864a39e4dbd7c8c5c0980f7d697a..35b364f931eafecb75daaa754207627e13fce8a9 100644 (file)
@@ -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>