From patchwork Fri Jan 13 20:01:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 642047 Delivered-To: patch@linaro.org Received: by 2002:a17:522:f3c4:b0:4b4:3859:abed with SMTP id in4csp397193pvb; Fri, 13 Jan 2023 12:02:54 -0800 (PST) X-Google-Smtp-Source: AMrXdXudJU5rJzf+bOqBMJV2uoRtlEISyZoF9t02kNB3mbkr1LtgLZbAmKVvXzah8RcKPa9pQLhw X-Received: by 2002:a05:6871:4181:b0:15b:b523:3299 with SMTP id lc1-20020a056871418100b0015bb5233299mr6827036oab.28.1673640174276; Fri, 13 Jan 2023 12:02:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673640174; cv=none; d=google.com; s=arc-20160816; b=GDeRJ5kPUDfZstIcESpnzyU4Ptg2ayuZmLOIqy5WLrVg4lSAFRzWxrs+bwXbkox6bG rkCPynemfPI6SADfpjZEJ4ayIEMedR6RXe/XiK416hKyp5YnbdSfaQdVOy8jacBhcxM8 Juz0u9d5Pl69BxPgD02VB4v099ydoy3jQm0S4YLhzSZgZsPOClKDn2eBRACS8ITderyX Banru9WjRp1X9Fi8s1isuJOG7oFg9frgwfc5PXVnw+X7FflyzaJnCUFMegF6Ide6KOgM f/szNBQeMY27hOSZXO/bmppLtWmUlIDJVWxn5RB4RPCDc0DpF327mqeyukgasHQSlZhT cUQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to: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:cc:to :from:dkim-signature; bh=+3xrrNRp0/omZTUi+2E7NdYj0ZRdClls5k9S0IjFHIM=; b=Rt/5cYLZp4mymuhFPBdZvyQ2/k4NVitg6PzIiG3Df4ybKLn9EHug6LSIysmkqY5YH5 BGr/trdsbblp/W8dmkLNpRJP6oj+pPX4kCG+9bttLQD0WM9JEY/+ldrcLDil/Tnl8ccz 5hXglulCSzRddEqbn+9DQBT34e4cUJYVPl+ydogVoqo9VJY3zKTr7zanKFLu4UneJCir bcecg36dcOBNiL2gzalt8THXq3skIdGx7/8SS/7QYwRoXmNJlmDqntGEWhNUeVioa4+A +egVMe25S2NDWFAbLxXL2CLGdlRKTwJS+U3OzB7EZDOJ/eggXSxRe1KUmLTGKwuZ7esF 3zjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dL7snLgq; 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 r20-20020ae9d614000000b00706321c7cdfsi140415qkk.639.2023.01.13.12.02.54 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 13 Jan 2023 12:02:54 -0800 (PST) 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=dL7snLgq; 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] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pGQFO-0003Xk-V3; Fri, 13 Jan 2023 15:01:54 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pGQFM-0003Xb-9g for qemu-devel@nongnu.org; Fri, 13 Jan 2023 15:01:53 -0500 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pGQFI-0006lo-Fh for qemu-devel@nongnu.org; Fri, 13 Jan 2023 15:01:50 -0500 Received: by mail-wm1-x334.google.com with SMTP id bi26-20020a05600c3d9a00b003d3404a89faso1250662wmb.1 for ; Fri, 13 Jan 2023 12:01:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=+3xrrNRp0/omZTUi+2E7NdYj0ZRdClls5k9S0IjFHIM=; b=dL7snLgqGB1px0xv/nW0v144lD88hT2heYtyMZH3cF8I+rRna0VGx4fCu4RPGw7rMN f7mJ9PeX4f/HsSVT+0Rcm2ePV7Vg879V8cmdZH984fMf6tz8GrisO8YUUgc4h/vkP78g QKEBdHI0dm6zFC9lAkWbRi64YSndf94UzF5XXCiFiqTPkFfeBg7qnOOYi2eU516l37nF RM9e9BVt/6MZ6uLIic9aNkDn0V8Uus9krZhv/g9fsybV7IVkxbLf4ZohHqZ6Y6G6vbHk Jh1EYGNgP60d1qzRAEJBapruB1KUh0NAf7mjnYC4GkPURT6DCxHVCwbZCAjA17DS+ZTi rCdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=+3xrrNRp0/omZTUi+2E7NdYj0ZRdClls5k9S0IjFHIM=; b=g0GwIgJPpfwXKwV5XXx/DAf3CWb3aBjHDC+/5O08s8HTy6K9ECsTkmc3DIu+lUuINp i/UBZeJllADHXjU3QMgdmXlplV14RDmz7oshQG4trf4JAEQ4wsgS9cW4VVp95CEeNzUf UYoVh735UPlB5HMKdun+jmxI/777x5tEr9zKY538+ZloVeZnbB6+24WIEBBFpx7ReRSX k7OIMKXi0PXxJypLklH4G7QR8unRdjOzdZ2DSYTAYIeN/01xG9qYzK+dfAneNtDkL+B1 DUwfkTHXQwmSXtkMVYVMsuWZjBUY1s8FJA/fchDBQ9wHvkl+YpFJiYeX2pJUrPQX1iLX /dZw== X-Gm-Message-State: AFqh2krMh9pl9MNhXoeH0hZ9RQXPoKVFioWdsiYQEajmr8iXJDPgdJoj V8pBK7FfXMZgwPThHtru2PpLIU2PABodQlQD X-Received: by 2002:a1c:4c12:0:b0:3c6:e63e:89a6 with SMTP id z18-20020a1c4c12000000b003c6e63e89a6mr59510328wmf.2.1673640107016; Fri, 13 Jan 2023 12:01:47 -0800 (PST) Received: from localhost.localdomain ([185.126.107.38]) by smtp.gmail.com with ESMTPSA id bi6-20020a05600c3d8600b003d9df9e59c4sm23162459wmb.37.2023.01.13.12.01.45 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 13 Jan 2023 12:01:46 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Stefan Hajnoczi , qemu-arm@nongnu.org, Peter Maydell , qemu-ppc@nongnu.org, "Edgar E. Iglesias" , qemu-trivial@nongnu.org, Alistair Francis , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= Subject: [PATCH 1/4] iothread: Remove unused IOThreadClass / IOTHREAD_CLASS Date: Fri, 13 Jan 2023 21:01:35 +0100 Message-Id: <20230113200138.52869-2-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230113200138.52869-1-philmd@linaro.org> References: <20230113200138.52869-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::334; envelope-from=philmd@linaro.org; helo=mail-wm1-x334.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 autolearn=unavailable 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: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Since commit be8d853766 ("iothread: add I/O thread object") we never used IOThreadClass / IOTHREAD_CLASS() / IOTHREAD_GET_CLASS(), remove these definitions. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Alistair Francis --- iothread.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/iothread.c b/iothread.c index 3862a64471..b41c305bd9 100644 --- a/iothread.c +++ b/iothread.c @@ -25,10 +25,6 @@ #include "qemu/rcu.h" #include "qemu/main-loop.h" -typedef ObjectClass IOThreadClass; - -DECLARE_CLASS_CHECKERS(IOThreadClass, IOTHREAD, - TYPE_IOTHREAD) #ifdef CONFIG_POSIX /* Benchmark results from 2016 on NVMe SSD drives show max polling times around