linux-user/syscall: Remove ERRNO_TABLE_SIZE check
commit4f6a9f84f1d29b61e3ebd3bfd774d9fd5afe60c6
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Thu, 8 Jul 2021 17:05:50 +0000 (8 19:05 +0200)
committerLaurent Vivier <laurent@vivier.eu>
Mon, 12 Jul 2021 19:53:35 +0000 (12 21:53 +0200)
treeac80c0a51f515ae7f2ca2156bf4b2c8fee28a79c
parent3ffe3268ea5e938de0c5fc309013805e4123531d
linux-user/syscall: Remove ERRNO_TABLE_SIZE check

Now than target_to_host_errno() always return an errno, we can
remove the unused and arbitrary ERRNO_TABLE_SIZE definition.

Suggested-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210708170550.1846343-9-f4bug@amsat.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
linux-user/syscall.c