From: Tobias Klauser Date: Thu, 25 Jun 2015 22:00:43 +0000 (-0700) Subject: frv: remove unused inline function is_in_rom() X-Git-Tag: v4.14-rc1~5177^2~71 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3fe111fc64018747fbc9c0c39c110c165b43cf10;p=platform%2Fkernel%2Flinux-rpi.git 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 Cc: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/arch/frv/include/asm/sections.h b/arch/frv/include/asm/sections.h index 17d0fb17..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 */