瀏覽代碼

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 <rpjday@crashcourse.ca>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Robert P. J. Day 15 年之前
父節點
當前提交
4b62c0f1e7
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      arch/sh/mm/pmb.c

+ 0 - 1
arch/sh/mm/pmb.c

@@ -23,7 +23,6 @@
 #include <linux/err.h>
 #include <linux/err.h>
 #include <linux/io.h>
 #include <linux/io.h>
 #include <linux/spinlock.h>
 #include <linux/spinlock.h>
-#include <linux/rwlock.h>
 #include <asm/sizes.h>
 #include <asm/sizes.h>
 #include <asm/system.h>
 #include <asm/system.h>
 #include <asm/uaccess.h>
 #include <asm/uaccess.h>