From nobody Mon Feb 9 18:44:32 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1616513908; cv=none; d=zohomail.com; s=zohoarc; b=YVYMAWLtphuRJtHz5Jp1d07mpKbaypb8u6xxy7X/vl4kZ1GBpKQA7CCs7NaaibJ8f6pj7sPc6mWnv/QxCMDoeI0rqvzLy/yFxYHwqwRKRUB2QVap6CsDx6TiRgqM1UT1ySOIytcD3X4My7f8d+OzRogRqdKGiTU65fiT7RpZBH8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1616513908; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=mobfb8EqlXp0lvXlsCwgLqGIobMgc21Nb0OooPDDHcw=; b=Uc1SpBYT6tQDaZN1U41iUgmnlWBdgKdruVuS3OpBCA57nQ+Gd9l04+cOtD22joBHtQDBPA5mUX4Etsjia2uoWJnpV+ZCF8NtxfMAXiYOU9XEmCS8758hebqAfrovOZJgNUI82KJjVZ6W6ci/yLkINKG/vzCj3/uJPPcGXXPXo5I= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1616513908542822.0451879863632; Tue, 23 Mar 2021 08:38:28 -0700 (PDT) Received: from localhost ([::1]:57210 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lOj6p-0006Wl-5s for importer@patchew.org; Tue, 23 Mar 2021 11:38:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34806) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lOj59-0004c7-Qb for qemu-devel@nongnu.org; Tue, 23 Mar 2021 11:36:35 -0400 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:51685) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lOj51-0002zu-R6 for qemu-devel@nongnu.org; Tue, 23 Mar 2021 11:36:35 -0400 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-388-HrbiaGY7O4-4zVGkAvUvaQ-1; Tue, 23 Mar 2021 11:36:23 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id B3A4C100748A; Tue, 23 Mar 2021 15:36:22 +0000 (UTC) Received: from sirius.home.kraxel.org (ovpn-112-41.ams2.redhat.com [10.36.112.41]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 7CAB76087C; Tue, 23 Mar 2021 15:36:18 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id 17F191800621; Tue, 23 Mar 2021 16:36:17 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1616513785; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=mobfb8EqlXp0lvXlsCwgLqGIobMgc21Nb0OooPDDHcw=; b=M4Ws/m1oXN/QNHjY8OTu/MgU7AWGOJAB4j/xk4dOdZpO3nnPbB+LCPefGmjjLq2rAoOQzw UsW7UeTzRfNWkLl4hYlceTDeD92wADh+OKeLrLMkCPB/rntEoRbTdHiiRP7P00qOv0J0S3 RA69gKkFF1tOJSjIRV4iF+axM5EZ7Z4= X-MC-Unique: HrbiaGY7O4-4zVGkAvUvaQ-1 From: Gerd Hoffmann To: qemu-devel@nongnu.org Subject: [PULL 4/5] include/ui/console.h: Delete is_surface_bgr() Date: Tue, 23 Mar 2021 16:36:15 +0100 Message-Id: <20210323153616.873822-5-kraxel@redhat.com> In-Reply-To: <20210323153616.873822-1-kraxel@redhat.com> References: <20210323153616.873822-1-kraxel@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=kraxel@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=63.128.21.124; envelope-from=kraxel@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Maydell , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Markus Armbruster , Gerd Hoffmann Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) From: Peter Maydell The function is_surface_bgr() is no longer used anywhere, so we can delete it. Signed-off-by: Peter Maydell Reviewed-by: Philippe Mathieu-Daud=C3=A9 Message-Id: <20210314163927.1184-1-peter.maydell@linaro.org> Signed-off-by: Gerd Hoffmann --- include/ui/console.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/include/ui/console.h b/include/ui/console.h index 2714038a0fae..ca3c7af6a6c8 100644 --- a/include/ui/console.h +++ b/include/ui/console.h @@ -267,16 +267,6 @@ PixelFormat qemu_default_pixelformat(int bpp); DisplaySurface *qemu_create_displaysurface(int width, int height); void qemu_free_displaysurface(DisplaySurface *surface); =20 -static inline int is_surface_bgr(DisplaySurface *surface) -{ - if (PIXMAN_FORMAT_BPP(surface->format) =3D=3D 32 && - PIXMAN_FORMAT_TYPE(surface->format) =3D=3D PIXMAN_TYPE_ABGR) { - return 1; - } else { - return 0; - } -} - static inline int is_buffer_shared(DisplaySurface *surface) { return !(surface->flags & QEMU_ALLOCATED_FLAG); --=20 2.30.2