Skip to content

Commit

Permalink
include/qemu/plugin: Remove QEMU_PLUGIN_ASSERT
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
rth7680 authored and stsquad committed Mar 22, 2023
1 parent 1058849 commit e8956e0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions include/qemu/plugin.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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)
{ }

Expand Down

0 comments on commit e8956e0

Please sign in to comment.