Skip to contentSkip to conversation

arc: remove #ifdef-ed out include of dead header

PATCH Applied Paul Bolle 2 participants 2 messages Mar 15, 2013 – Mar 16, 2013 Synopsys ARC architecture

lore
Share & tools
lore

Paul Bolle

author
#0 lore raw

PATCH 1/1 arc: remove #ifdef-ed out include of dead header

There's no (Kconfig) macro CONFIG_BLOCK_DEV_RAM. (CONFIG_BLK_DEV_RAM does exist though.) But linux/blk.h got killed in 2005 anyway (in a patch titled "kill blk.h"), so these three lines can be removed.

---
Untested (no relevant hardware or compiler).

 arch/arc/mm/init.c | 3 ---
 1 file changed, 3 deletions(-)
arch/arc/mm/init.c +0 -3
index caf797d..6634cf5 100644
@@ -10,9 +10,6 @@
 #include <linux/mm.h>
 #include <linux/bootmem.h>
 #include <linux/memblock.h>
-#ifdef CONFIG_BLOCK_DEV_RAM
-#include <linux/blk.h>
-#endif
 #include <linux/swap.h>
 #include <linux/module.h>
 #include <asm/page.h>
Signature · 1 line
1.7.11.7
Applied
#1 lore raw
Quoted 5 lines · Paul Bolle

There's no (Kconfig) macro CONFIG_BLOCK_DEV_RAM. (CONFIG_BLK_DEV_RAM does exist though.) But linux/blk.h got killed in 2005 anyway (in a patch titled "kill blk.h"), so these three lines can be removed.

Applied to next.

P.S. The msg to linux-snps-arc would have bounced back since the list couldn't be created - I have a patch to be sent to Linus to remove that.

Thx,
-Vineet