From patchwork Wed Apr 20 18:05:49 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 563980 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:6886:0:0:0:0 with SMTP id m6csp4406910map; Wed, 20 Apr 2022 11:18:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJysi2wPPqTjVT25UB0BAEnFONRys69fvtTI7B+x9w3erYJYhLoyIS6vb4BVulgtWtqoOjRi X-Received: by 2002:a25:6641:0:b0:641:54e4:6edd with SMTP id z1-20020a256641000000b0064154e46eddmr22020587ybm.36.1650478715189; Wed, 20 Apr 2022 11:18:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650478715; cv=none; d=google.com; s=arc-20160816; b=NjMwrywl35UtfDL0mWJex7cR0ynf1P3O7k7HMn4WQh6vCl9a8u51PJfWkBUUwDpIFC NH6CGPERb5MksObjGcs1bOb/urdSwtUT1rawu7diLityJc8Ckh7gokt9s1ZN1K44ZLKf e4fLf6LKH9C5U7ik3CcIX+Xnzaf95+7cVeWpf8VOIRd0e5QxFM19/YLGtMN9Ctp3POuL IuymYIDgEFAhLE39jcVWRJDFSTq8gJVk4HF6W6SMkbRxN4rXoWC4m3vFUQwUAwZCd/Qv AHqdaxzc4agq8JahRQmgDLEsCLAwr8RA+nM+YQI3iutfEb61RjXpZTAK5ROowMWlq/41 M/kg== 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=DibATXdAjww5C4SYG+noyUZdVK5yQkHcWdp7MeNDn0A=; b=QMeK45CuYDP/I0yF+btanLrC1BJ4rIw4LMhaU34Kk4F2EgM6Af3Wu+Qp6/VnMEeGW+ SrmZDIc2ErLjcRzdSGH4yPMDfPgfPB5iSJp1vQEvKqqPZQRbBVrovUH3+vXO6XuMwyH9 3X8+zEpREgazPlOSXwhh2WoaviEUphGvvOGaRPxYAdCxIPfY8K1mlFguUinTG0iB5WlC LAzC00kc/uGgopviOARSeD65pU/Lh83F5MZLJDfOuViqpoquvOdPPxs7UY3UnhJx20E0 WLBfS7fCTLLo3gSjZodqIa2XjEKojAZGvMmPUbFvkVgrsG5aK2Kgkv9EMbIPOL4JxYup GRqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=H9yPuw9U; 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 j19-20020a25d213000000b00645001bd595si572248ybg.467.2022.04.20.11.18.35 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 20 Apr 2022 11:18:35 -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=H9yPuw9U; 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]:56564 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nhEuQ-0003gd-Ka for patch@linaro.org; Wed, 20 Apr 2022 14:18:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53218) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhEio-0005OV-7P for qemu-devel@nongnu.org; Wed, 20 Apr 2022 14:06:34 -0400 Received: from mail-pj1-x1030.google.com ([2607:f8b0:4864:20::1030]:44610) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nhEil-0001C7-No for qemu-devel@nongnu.org; Wed, 20 Apr 2022 14:06:33 -0400 Received: by mail-pj1-x1030.google.com with SMTP id u5-20020a17090a6a8500b001d0b95031ebso2758211pjj.3 for ; Wed, 20 Apr 2022 11:06:31 -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=DibATXdAjww5C4SYG+noyUZdVK5yQkHcWdp7MeNDn0A=; b=H9yPuw9UxTQMpll5riSAcmd8AixneLGQZQy7/8RHWWqdzwJ3pZQfDF6a/KcLia0DNr vCrQuqaGKL3yVjNJLmKGeFzXCBy1WEd83z9dxG5GeDUReHa63a5PpMRSjzY67zT4lm4+ kftUOBRDIKhhFhl+tfKSRMJvzuFZzFwQu+UNVcWL66uJe6xKAdYMRVeWvqomWIwAlea6 slxF70sjusVTMvC8T4iHDVkbKmQkqr7q68iUEaT9bxQxUkALSJOEZtZOslCdfb+oFIVs 64x0SavW5pmzaAuTeEh+3+K/5yXJ84wTMjKGyPVAE1kLub4bxyRupfOkhN8FU91AvfNd MhvQ== 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=DibATXdAjww5C4SYG+noyUZdVK5yQkHcWdp7MeNDn0A=; b=WzeFW68R36HKVn6XB5pcJOdjedr+hkSqDicINPJwexnsQ4EtUlPBkQNLgxF+GVthT6 mrszEZO7TLqapov2z+KRE3YxiLgrovRG5HoqgzatVUsRMvW7dGhpl9JJX4wZrL0f4wI3 NUp4FhOUMIOuUl5ZRAwPeBl3ES81CKu46CqU1wXf6U5ElsOtB2FIv7hbYWZ0WDklrXTc XhHN7G1Mkykg11WjCQ/Qq5ottyoNbOr+fFfsw7s8Y6U1vJaIpYqmCm5hs9gYRQP1ZXTg NJjpUKT9EIxkB5ZJVajWOCOIRL1Bkln3as4/Fn5mIKZdAOjZwT10CKIT1FAb9e1glitr O3YQ== X-Gm-Message-State: AOAM530K9TF/D6prtP4pqplv5ZxvVgIOU+aW/S2spEeC+fkcIMujAufw IYmA2RaJ31fNfwseWwE701Y76+d22pl2nQ== X-Received: by 2002:a17:903:1c8:b0:15a:2088:848f with SMTP id e8-20020a17090301c800b0015a2088848fmr6636126plh.30.1650477990433; Wed, 20 Apr 2022 11:06:30 -0700 (PDT) Received: from stoup.. (174-21-142-130.tukw.qwest.net. [174.21.142.130]) by smtp.gmail.com with ESMTPSA id i2-20020a17090a058200b001d2fc489b8asm56681pji.25.2022.04.20.11.06.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Apr 2022 11:06:29 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL 10/39] util/log: Remove qemu_log_vprintf Date: Wed, 20 Apr 2022 11:05:49 -0700 Message-Id: <20220420180618.1183855-11-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220420180618.1183855-1-richard.henderson@linaro.org> References: <20220420180618.1183855-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::1030; envelope-from=richard.henderson@linaro.org; helo=mail-pj1-x1030.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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: =?utf-8?q?Alex_Benn=C3=A9e?= 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 Message-Id: <20220417183019.755276-11-richard.henderson@linaro.org> --- 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