]> Git Repo - qemu.git/commitdiff
util/log: Remove qemu_log_vprintf
authorRichard Henderson <[email protected]>
Sun, 17 Apr 2022 18:29:50 +0000 (11:29 -0700)
committerRichard Henderson <[email protected]>
Wed, 20 Apr 2022 17:51:11 +0000 (10:51 -0700)
This function is no longer used.

Reviewed-by: Alex BennĂ©e <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
Message-Id: <20220417183019[email protected]>

include/qemu/log.h

index d090faf22ae47e26764c8216fda9781b2e5290e7..2d9455dc85e39c722da0be3a51f48f5872d543b9 100644 (file)
@@ -72,21 +72,6 @@ void qemu_log_unlock(FILE *fd);
 
 /* Logging functions: */
 
-/* vfprintf-like logging function
- */
-static inline void G_GNUC_PRINTF(1, 0)
-qemu_log_vprintf(const char *fmt, va_list va)
-{
-    QemuLogFile *logfile;
-
-    rcu_read_lock();
-    logfile = qatomic_rcu_read(&qemu_logfile);
-    if (logfile) {
-        vfprintf(logfile->fd, fmt, va);
-    }
-    rcu_read_unlock();
-}
-
 /* log only if a bit is set on the current loglevel mask:
  * @mask: bit to check in the mask
  * @fmt: printf-style format string
This page took 0.021927 seconds and 4 git commands to generate.