From: Richard Henderson Date: Thu, 13 Mar 2025 03:15:41 +0000 (-0700) Subject: include/system: Remove ifndef CONFIG_USER_ONLY in qtest.h X-Git-Tag: v10.1.0-rc0~117^2~90 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d9baad7dc1d57cc3fe7d71d16431ccff203dfbb;p=thirdparty%2Fqemu.git include/system: Remove ifndef CONFIG_USER_ONLY in qtest.h This is include/system, so CONFIG_USER_ONLY will never be true. Reviewed-by: Pierrick Bouvier Signed-off-by: Richard Henderson --- diff --git a/include/system/qtest.h b/include/system/qtest.h index 6ddddc501be..84b1f8c6ee4 100644 --- a/include/system/qtest.h +++ b/include/system/qtest.h @@ -23,7 +23,6 @@ static inline bool qtest_enabled(void) return qtest_allowed; } -#ifndef CONFIG_USER_ONLY void G_GNUC_PRINTF(2, 3) qtest_sendf(CharBackend *chr, const char *fmt, ...); void qtest_set_command_cb(bool (*pc_cb)(CharBackend *chr, gchar **words)); bool qtest_driver(void); @@ -33,6 +32,5 @@ void qtest_server_init(const char *qtest_chrdev, const char *qtest_log, Error ** void qtest_server_set_send_handler(void (*send)(void *, const char *), void *opaque); void qtest_server_inproc_recv(void *opaque, const char *buf); -#endif #endif