]> git.baikalelectronics.ru Git - kernel.git/commit
include/linux/compat.h: remove unneeded declaration from COMPAT_SYSCALL_DEFINEx()
authorMasahiro Yamada <masahiroy@kernel.org>
Fri, 7 May 2021 01:03:52 +0000 (18:03 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 7 May 2021 02:24:12 +0000 (19:24 -0700)
commit1bae3caacf2e563b9fe506ceab66ea04308cba65
treed04da65e05e505f55b3cee8f2dce36f9e391a90d
parentd47b305579e6a7613f130c9404c31896599eca85
include/linux/compat.h: remove unneeded declaration from COMPAT_SYSCALL_DEFINEx()

compat_sys##name is declared twice, just one line below.

With this removal SYSCALL_DEFINEx() (defined in <linux/syscalls.h>)
and COMPAT_SYSCALL_DEFINEx() look symmetrical.

Link: https://lkml.kernel.org/r/20210223114924.854794-1-masahiroy@kernel.org
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/compat.h