From: Robert P. J. Day Date: Thu, 3 May 2007 19:58:49 +0000 (-0400) Subject: [MTD] Remove unnecessary user space check from mtd.h. X-Git-Tag: v2.6.22-rc1~142^2~2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=36200b76008d52d16b170d4f7dae9cfe00f5eb2b;p=karo-tx-linux.git [MTD] Remove unnecessary user space check from mtd.h. Since the header file include/linux/mtd/mtd.h is not exported to user space, remove the user space check and error. Signed-off-by: Robert P. J. Day Signed-off-by: David Woodhouse --- diff --git a/include/linux/mtd/mtd.h b/include/linux/mtd/mtd.h index 45d482ce8397..12a9a18f6e16 100644 --- a/include/linux/mtd/mtd.h +++ b/include/linux/mtd/mtd.h @@ -9,10 +9,6 @@ #ifndef __MTD_MTD_H__ #define __MTD_MTD_H__ -#ifndef __KERNEL__ -#error This is a kernel header. Perhaps include mtd-user.h instead? -#endif - #include #include #include