2015-04-20 14:00:49

by Tobias Klauser

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

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 <[email protected]>
---
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