[Yaffs] [PATCH] do not include obsolete header file

Top Page
Attachments:
Message as email
+ (text/plain)
+ 20-remove-obsoleted-includes.diff (text/plain)
Delete this message
Reply to this message
Author: Luc Van Oostenryck
Date:  
To: yaffs
New-Topics: [Yaffs] Luc's patch set applied
Subject: [Yaffs] [PATCH] do not include obsolete header file
Remove #include of header files obsoleted in Linux-2.6.
diff --git a/fs/yaffs2/nandemul2k.c b/fs/yaffs2/nandemul2k.c
--- a/fs/yaffs2/nandemul2k.c
+++ b/fs/yaffs2/nandemul2k.c
@@ -27,7 +27,6 @@
#include <linux/mtd/mtd.h>
#include <linux/interrupt.h>
#include <linux/string.h>
-#include <linux/locks.h>

#include <asm/uaccess.h>
#include <linux/mtd/mtd.h>