[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 13/32] include/qemu/plugin: Remove QEMU_PLUGIN_ASSERT
From: |
Alex Bennée |
Subject: |
[PATCH v2 13/32] include/qemu/plugin: Remove QEMU_PLUGIN_ASSERT |
Date: |
Wed, 15 Mar 2023 17:43:12 +0000 |
From: Richard Henderson <richard.henderson@linaro.org>
This macro is no longer used.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230310195252.210956-4-richard.henderson@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
include/qemu/plugin.h | 4 ----
1 file changed, 4 deletions(-)
diff --git a/include/qemu/plugin.h b/include/qemu/plugin.h
index fb338ba576..e0ebedef84 100644
--- a/include/qemu/plugin.h
+++ b/include/qemu/plugin.h
@@ -59,8 +59,6 @@ get_plugin_meminfo_rw(qemu_plugin_meminfo_t i)
#ifdef CONFIG_PLUGIN
extern QemuOptsList qemu_plugin_opts;
-#define QEMU_PLUGIN_ASSERT(cond) g_assert(cond)
-
static inline void qemu_plugin_add_opts(void)
{
qemu_add_opts(&qemu_plugin_opts);
@@ -252,8 +250,6 @@ void qemu_plugin_user_postfork(bool is_child);
#else /* !CONFIG_PLUGIN */
-#define QEMU_PLUGIN_ASSERT(cond)
-
static inline void qemu_plugin_add_opts(void)
{ }
--
2.39.2
- [PATCH v2 31/32] contrib/gitdm: add more individual contributors, (continued)
- [PATCH v2 31/32] contrib/gitdm: add more individual contributors, Alex Bennée, 2023/03/15
- [PATCH v2 23/32] iotests: always use a unique sub-directory per test, Alex Bennée, 2023/03/15
- [PATCH v2 09/32] include/exec: fix kerneldoc definition, Alex Bennée, 2023/03/15
- [PATCH v2 28/32] contrib/gitdm: add Amazon to the domain map, Alex Bennée, 2023/03/15
- [PATCH v2 29/32] contrib/gitdm: add Alibaba to the domain-map, Alex Bennée, 2023/03/15
- [PATCH v2 08/32] tests/tcg: disable pauth for aarch64 gdb tests, Alex Bennée, 2023/03/15
- [PATCH v2 13/32] include/qemu/plugin: Remove QEMU_PLUGIN_ASSERT,
Alex Bennée <=
- [PATCH v2 11/32] tcg: Clear plugin_mem_cbs on TB exit, Alex Bennée, 2023/03/15
- [PATCH v2 25/32] iotests: remove the check-block.sh script, Alex Bennée, 2023/03/15
- [PATCH v2 22/32] iotests: connect stdin to /dev/null when running tests, Alex Bennée, 2023/03/15