]> www.infradead.org Git - users/jedix/linux-maple.git/commit
vt_buffer.h: get rid of dead code in default scr_...() instances
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 6 Nov 2024 06:10:19 +0000 (06:10 +0000)
committerArnd Bergmann <arnd@arndb.de>
Mon, 11 Nov 2024 20:51:42 +0000 (21:51 +0100)
commitfb56007c9bc38550755a53f7afd71a287340b724
treed783c26245efe3bed6e2a222b209c27a5694bb5c
parentc0dc92144ba181cf7ba366a87909bbaa93d5b713
vt_buffer.h: get rid of dead code in default scr_...() instances

Only 4 architectures define VT_BUF_HAVE_RW (alpha, mips, powerpc, sparc)
and all of them define VT_BUF_HAVE_MEM{SET,CPY,MOVE}W.  In other
words, the code under #ifdef VT_BUF_HAVE_RW in default scr_mem...w()
instances won't be compiled anyway.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
include/linux/vt_buffer.h