]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
fixmap: Remove unused set_fixmap_offset_io()
authorSteven Price <steven.price@arm.com>
Wed, 12 Jun 2024 16:00:38 +0000 (17:00 +0100)
committerArnd Bergmann <arnd@arndb.de>
Thu, 11 Jul 2024 15:41:23 +0000 (17:41 +0200)
The macro set_fixmap_offset_io() was added in commit f774b7d10e21
("arm64: fixmap: fix missing sub-page offset for earlyprintk") but then
commit 8ef0ed95ee04 ("arm64: remove arch specific earlyprintk") removed
the file causing the only user to be removed when the two commits were
merged. Since this has never been used again since the v3.15 release
remove it.

Signed-off-by: Steven Price <steven.price@arm.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
include/asm-generic/fixmap.h

index 8cc7b09c1bc7173e0fc0128294a3dac43e155d3e..29cab7947980a075511c2663670465799cc3e9da 100644 (file)
@@ -97,8 +97,5 @@ static inline unsigned long virt_to_fix(const unsigned long vaddr)
 #define set_fixmap_io(idx, phys) \
        __set_fixmap(idx, phys, FIXMAP_PAGE_IO)
 
-#define set_fixmap_offset_io(idx, phys) \
-       __set_fixmap_offset(idx, phys, FIXMAP_PAGE_IO)
-
 #endif /* __ASSEMBLY__ */
 #endif /* __ASM_GENERIC_FIXMAP_H */