xemu/linux-user
Peter Maydell 309abce236 linux-user/sparc: Remove unneeded checks of 'err' from sparc64_get_context()
Unlike the kernel macros, our __get_user() and __put_user() do not
return a failure code.  Kernel code typically has a style of
  err |= __get_user(...); err |= __get_user(...);
and then checking err at the end.  In sparc64_get_context() our
version of the code dropped the accumulating into err but left the
"if (err) goto do_sigsegv" checks, which will never be taken. Delete
unnecessary if()s.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20201106152738.26026-3-peter.maydell@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
2020-12-18 11:23:29 +01:00
..
2019-06-12 13:20:21 +02:00
2020-12-18 11:23:10 +01:00
2020-12-15 12:51:56 -05:00
2020-08-21 06:30:38 -04:00
2019-06-12 13:20:21 +02:00
2020-12-15 12:53:14 -05:00
2020-12-18 11:23:10 +01:00
2019-06-12 13:20:21 +02:00
2020-02-12 18:56:41 +01:00
2019-06-10 07:03:34 -07:00