[PATCH] remove unnecessary inclusion of <asm/setup.h>

Jun Sun jsun at mvista.com
Wed Oct 22 21:15:28 EDT 2003


I don't see any purpose of including this file.  Furthermore
<asm/setup.h> does not even exist on MIPS and other arches.

Jun
-------------- next part --------------
diff -Nru linux/drivers/mtd/cmdlinepart.c.orig linux/drivers/mtd/cmdlinepart.c
--- linux/drivers/mtd/cmdlinepart.c.orig	Mon Jul 21 08:14:02 2003
+++ linux/drivers/mtd/cmdlinepart.c	Wed Oct 22 15:43:03 2003
@@ -29,7 +29,6 @@
 #include <linux/mtd/mtd.h>
 #include <linux/mtd/partitions.h>
 #include <linux/mtd/compatmac.h>
-#include <asm/setup.h>
 #include <linux/bootmem.h>
 
 /* error message prefix */


More information about the linux-mtd mailing list