From patchwork Sat Mar 26 13:25:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 554363 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:1248:0:0:0:0 with SMTP id z8csp6432439mag; Sat, 26 Mar 2022 06:42:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxA81r7zHG+ztq9IW18wH/ngNbN2pdsQGoD4HW8mb22HF+eP/zXTh4U+a6yU+zY2zFkkAlF X-Received: by 2002:ac8:7dd1:0:b0:2e1:c708:12fa with SMTP id c17-20020ac87dd1000000b002e1c70812famr13513726qte.532.1648302152939; Sat, 26 Mar 2022 06:42:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648302152; cv=none; d=google.com; s=arc-20160816; b=J9GRvXuoLo9CmXcdJ0+ULxH8y5esbqNwJ+uFQ1WFX4WJuu/Z7bkQCTltaesE3lpPpo WSnQ5ZLNZkUUOHF/1ioOSN0mKsrIB2DyKxCrfAJY2UzSRnZyGKzVWyHPRQdpV12g6TBJ 7dyt6+BzACGzIxmDn6SubrfElU+PY+yJglPzyz7JoyfhBd6CBasXXF36Gy573wTeOabS OCS28gHOOXkiHKWBvWHsoMqqNV/4uXVz/PRR5VZe8t2DiIqjONWNn/7w9hU0vGA3WDaq 1AapgP5g7rA0I/aDK1SMufhp3Vcc2L6Mv1hviJd2VN9FAk1+JPeI4iHXeih1kd1YP2bY j2mw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=KQ2Hs1fcPO+xNkXsj5Tr5G1f8x8slUJxiO5yDeUu3l4=; b=BmPtCs9GM0aWMG0Z1PwV+6oW4hgheCNG4mXdVHxb1EFAFntWU5N8G3wfMCzbuqm7uH UPjw+szfCjbMYDlnDb1GngHdOgJSOSI3Ii6PZj7bB2LcfCXTSBEoW6vMvNOguCHwuc37 9Ie9bNU5vSmWfQ+S5Phe3JvlD0CM4n6fzvclw/Y9B9tYNNDMDd6vwQKK9/AltbzUGxr2 J4wQhWTeemKEPXkGDMeUxgkD8xTwMVlFcFIVMprtHSxotVgNxI0mrwGTjHxQrZQX35Bh JWS0k/LSITl85791QuzrlLrt8hOfnTS+WOR9HLD2CLgiGUT8xDZvPKDJmxmIGA7UL2tW 6Klg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ofby79uC; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id ay6-20020a05620a178600b0067e4be237d3si3837328qkb.24.2022.03.26.06.42.32 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 26 Mar 2022 06:42:32 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ofby79uC; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:43156 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nY6ga-0007M7-CW for patch@linaro.org; Sat, 26 Mar 2022 09:42:32 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34038) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nY6Qe-0007Me-24 for qemu-devel@nongnu.org; Sat, 26 Mar 2022 09:26:05 -0400 Received: from [2607:f8b0:4864:20::c2a] (port=38733 helo=mail-oo1-xc2a.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nY6Qc-0005Ni-Lf for qemu-devel@nongnu.org; Sat, 26 Mar 2022 09:26:03 -0400 Received: by mail-oo1-xc2a.google.com with SMTP id v19-20020a056820101300b0032488bb70f5so1783278oor.5 for ; Sat, 26 Mar 2022 06:26:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=KQ2Hs1fcPO+xNkXsj5Tr5G1f8x8slUJxiO5yDeUu3l4=; b=ofby79uCP/bmBC59WvrK2z2MWJPkO4+HYsTugTZVeQXakzc6dlyN+d0MskEFFpew5N RHVIH1dASecnf7PPF27jGOf7DEzlIW6VADNCfqrL8CQZ4sTivhjD/rHH08K0K4aRm7JL n9ckgS7Mn3MqNxI86K3f1omVT9FyjApjo3ACsPNU3B9c06U9xcf5vO/Vqos8W7/ckneN EqFveCIF4X8SQ831L8CcSdKLrEfsXHIPEgAJRQhzgySgt91i6tG2CQsz32itnvZCo2w1 CUZbJsHXLhJ4XoxQzdrk6ZFIyXfwQcx6RqRuWG5DFFco9MqrUTzLCXeQAcsr+1CirwGf ZQEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=KQ2Hs1fcPO+xNkXsj5Tr5G1f8x8slUJxiO5yDeUu3l4=; b=PXC24XqsDFzGsLBNZ/JutSXBgRG9Q6AzVyWelkOxaZIJkdM2tTmx4Rnrn1VJsOnDQ2 FHFQTN+6+JiN/ANIBZ8hHnO66Qr6SYdtXItU9OGp2v8UGteRuYz/NjMrf3TzUh57mB0L P2dzODLjPOwctdKAVoyYwhJK9420mMCmyGMOmJBTS1lN7tkxp6OozZYsFEh/oXy/ZqXf qTjd/IJKhwfbJJIhD7TQqY0l3Cb4cawBVwxNcy336TOYiGj5M+jFIxvGn5ZG3wu9duCP hYf6lw1jncoHXn5+SWBxhPZPjfe6Pte8B1t6ateSOOfECSyYY4PvSEgfSRMv05ACdz4a H0qg== X-Gm-Message-State: AOAM531FHSTyntbP7/3FBdwV4J7tyhvmIEfevMpQd+n2y+vQRqzlAAIG 4mNtV8b/XpVz+JrmUVsIzMh2KpOjT8nlanAL X-Received: by 2002:a05:6820:350:b0:320:be2b:4fb8 with SMTP id m16-20020a056820035000b00320be2b4fb8mr5719283ooe.2.1648301161579; Sat, 26 Mar 2022 06:26:01 -0700 (PDT) Received: from localhost.localdomain (168.189-204-159.bestelclientes.com.mx. [189.204.159.168]) by smtp.gmail.com with ESMTPSA id n62-20020acaef41000000b002ef646e6690sm4610331oih.53.2022.03.26.06.26.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 26 Mar 2022 06:26:00 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH v2 10/39] util/log: Remove qemu_log_vprintf Date: Sat, 26 Mar 2022 07:25:05 -0600 Message-Id: <20220326132534.543738-19-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220326132534.543738-1-richard.henderson@linaro.org> References: <20220326132534.543738-1-richard.henderson@linaro.org> MIME-Version: 1.0 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::c2a (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::c2a; envelope-from=richard.henderson@linaro.org; helo=mail-oo1-xc2a.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: alex.bennee@linaro.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" This function is no longer used. Reviewed-by: Alex Bennée Signed-off-by: Richard Henderson --- include/qemu/log.h | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/include/qemu/log.h b/include/qemu/log.h index d090faf22a..2d9455dc85 100644 --- a/include/qemu/log.h +++ b/include/qemu/log.h @@ -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