]> git.proxmox.com Git - mirror_qemu.git/commit
thunk: Drop unused NO_THUNK_TYPE_SIZE guards
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 2 Jun 2016 15:28:16 +0000 (16:28 +0100)
committerMichael Tokarev <mjt@tls.msk.ru>
Tue, 7 Jun 2016 15:19:24 +0000 (18:19 +0300)
commit7a00217d1a4478f2b8ac63e7fcd5a31af39394ba
tree66e834e69691595dcdbfa4d66c0eab0c3bdf6829
parent0d5c21f2b3bf1e0b562a2c74e353d2e03f2f50ef
thunk: Drop unused NO_THUNK_TYPE_SIZE guards

The thunk_type_size_array() and thunk_type_align_array() functions
are only provided if NO_THUNK_TYPE_SIZE is not defined. However
nothing in the codebase defines that, and so in fact these functions
are always present. Drop the unnecessary #ifdefs.

(Over a decade ago thunk.h used to be included by some softmmu
files, which defined NO_THUNK_TYPE_SIZE, but these includes are
long gone; see for instance commit f193c7979c2f7.)

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
include/exec/user/thunk.h
thunk.c