Skip to contentSkip to conversation

remove unnecessary inclusion of <asm/setup.h>

PATCH Applied Jun Sun 2 participants 2 messages Oct 23, 2003 Memory technology devices (MTD)

lore
Share & tools
lore

Jun Sun

author
#0 lore raw

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

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

Jun

drivers/mtd/cmdlinepart.c renamed from drivers/mtd/cmdlinepart.c.orig +0 -1
diff -Nru linux/drivers/mtd/cmdlinepart.c.orig linux/drivers/mtd/cmdlinepart.c
@@ -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 */
#1 lore raw
Quoted 2 lines · Jun Sun

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

Applied; thanks.

Signature · 1 line
dwmw2