Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <tklauser@distanz.ch>
Cc: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Tobias Klauser and committed by
Linus Torvalds
3fe111fc 479305fd

-6
-6
arch/frv/include/asm/sections.h
··· 35 35 extern unsigned long __nongprelbss memory_end; 36 36 extern unsigned long __nongprelbss rom_length; 37 37 38 - /* determine if we're running from ROM */ 39 - static inline int is_in_rom(unsigned long addr) 40 - { 41 - return 0; /* default case: not in ROM */ 42 - } 43 - 44 38 #endif 45 39 #endif 46 40 #endif /* _ASM_SECTIONS_H */