include/qemu/host-utils: Remove unused code in the *_overflow wrappers
commit7a890b756620223f35f8056baddf0406526ae025
authorThomas Huth <thuth@redhat.com>
Fri, 1 Jul 2022 02:51:32 +0000 (1 04:51 +0200)
committerThomas Huth <thuth@redhat.com>
Tue, 5 Jul 2022 08:15:49 +0000 (5 10:15 +0200)
tree9f80909e03e4a82ae41025cf74f72a490bd61173
parent1ec8c2c01ed9c1b2bc8a273c7045e179f90013bc
include/qemu/host-utils: Remove unused code in the *_overflow wrappers

According to commit cec07c0b612975 the code in the #else paths was required
for GCC < 5.0 and Clang < 3.8. We don't support such old compilers
at all anymore, so we can remove these lines now. We keep the wrapper
function, though, since they are easier to read and help to make sure that
the parameters have the right types.

Message-Id: <20220701025132.303469-1-thuth@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
include/qemu/host-utils.h