summaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2024-11-06 07:10:50 +0100
committerArnd Bergmann <arnd@arndb.de>2024-11-11 21:51:42 +0100
commita36498d22c2b9ae8fda4e1c9e01c04897b1fd6d0 (patch)
tree44189cabec00372cce67f65a00cd69394bc89f01 /arch/mips/include/asm
parentvt_buffer.h: get rid of dead code in default scr_...() instances (diff)
downloadlinux-a36498d22c2b9ae8fda4e1c9e01c04897b1fd6d0.tar.xz
linux-a36498d22c2b9ae8fda4e1c9e01c04897b1fd6d0.zip
asm/vga.h: don't bother with scr_mem{cpy,move}v() unless we need to
... if they are identical to fallbacks, just leave them alone. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/mips/include/asm')
-rw-r--r--arch/mips/include/asm/vga.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/mips/include/asm/vga.h b/arch/mips/include/asm/vga.h
index 0136e0366698..491c2b5aeb81 100644
--- a/arch/mips/include/asm/vga.h
+++ b/arch/mips/include/asm/vga.h
@@ -47,10 +47,6 @@ static inline void scr_memsetw(u16 *s, u16 v, unsigned int count)
memset16(s, cpu_to_le16(v), count / 2);
}
-#define scr_memcpyw(d, s, c) memcpy(d, s, c)
-#define scr_memmovew(d, s, c) memmove(d, s, c)
-#define VT_BUF_HAVE_MEMCPYW
-#define VT_BUF_HAVE_MEMMOVEW
#define VT_BUF_HAVE_MEMSETW
#endif /* _ASM_VGA_H */