aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2023-03-15 17:43:12 +0000
committerAlex Bennée <alex.bennee@linaro.org>2023-03-22 15:06:57 +0000
commite8956e0c6c2f61a235d896eb5b9941f474b6a57d (patch)
tree6bfbbcdf7c7998e9dd1acebedc592c3c2ccf4af7 /include
parent10588491c1fbf3458b88fb632c8292f7989516d0 (diff)
downloadqemu-e8956e0c6c2f61a235d896eb5b9941f474b6a57d.zip
qemu-e8956e0c6c2f61a235d896eb5b9941f474b6a57d.tar.gz
qemu-e8956e0c6c2f61a235d896eb5b9941f474b6a57d.tar.bz2
include/qemu/plugin: Remove QEMU_PLUGIN_ASSERT
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> Message-Id: <20230315174331.2959-14-alex.bennee@linaro.org> Reviewed-by: Emilio Cota <cota@braap.org>
Diffstat (limited to 'include')
-rw-r--r--include/qemu/plugin.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/qemu/plugin.h b/include/qemu/plugin.h
index fb338ba..e0ebede 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)
{ }