[PATCH] frv: Remove unused inline function is_in_rom()

From: Tobias Klauser
Date: Mon Apr 20 2015 - 10:00:53 EST


The function is not used anywhere in the tree (anymore) and this is the last
remaining instance, so remove it.

Signed-off-by: Tobias Klauser <tklauser@xxxxxxxxxx>
---
arch/frv/include/asm/sections.h | 6 ------
1 file changed, 6 deletions(-)

diff --git a/arch/frv/include/asm/sections.h b/arch/frv/include/asm/sections.h
index 17d0fb1..d03fb64 100644
--- a/arch/frv/include/asm/sections.h
+++ b/arch/frv/include/asm/sections.h
@@ -35,12 +35,6 @@ extern unsigned long __nongprelbss memory_start;
extern unsigned long __nongprelbss memory_end;
extern unsigned long __nongprelbss rom_length;

-/* determine if we're running from ROM */
-static inline int is_in_rom(unsigned long addr)
-{
- return 0; /* default case: not in ROM */
-}
-
#endif
#endif
#endif /* _ASM_SECTIONS_H */
--
2.2.2


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/