From nobody Mon Feb 9 22:03:58 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=1607678360; cv=none; d=zohomail.com; s=zohoarc; b=ZK0wiuAEK79u8b0ZI/ilOId7HWVl+QbWy0zW3bMG7ZNtyZLshXaVk/Idr69ZP2esEEfm9Cw+fYTyBko2nrbCGYytGivhcUil6rMDF6sDCYZQTp15QLV7z8E++I8c6bZk21PHLTKBZ/LRDYvhcAK86oZDOoMFjbA12wKEOooH3zw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1607678360; 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=DHX9kZNd9vnjdHnG2uLRwzRxWwhk2Yrco6cXucV4B9E=; b=cWmFXwKR4WLMiZZ70tdDLTZ4bcAd3RRVdbqWQHWmuvaATUSbFR8tKDVedmc9lN3G3i8ioAkCKmZ3QsyEPV0UWHAQymzTk0lEL5NqAShdoxwyHrQnRvj8Qoam73OICYBG65DON/MD2OTGr54hI/z8GPhT4tPNk8Nk5+cI/JczE/0= 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 160767836018128.278352528124515; Fri, 11 Dec 2020 01:19:20 -0800 (PST) Received: from localhost ([::1]:36546 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1knea7-0006IT-0G for importer@patchew.org; Fri, 11 Dec 2020 04:19:19 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50780) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kneUA-0007Eu-86 for qemu-devel@nongnu.org; Fri, 11 Dec 2020 04:13:13 -0500 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:58067) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1kneU1-0004iq-SW for qemu-devel@nongnu.org; Fri, 11 Dec 2020 04:13:10 -0500 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-299-K6862J02MZ2wE3IbP4vXnw-1; Fri, 11 Dec 2020 04:12:59 -0500 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 6B39F18C89C4 for ; Fri, 11 Dec 2020 09:12:58 +0000 (UTC) Received: from sirius.home.kraxel.org (ovpn-112-94.ams2.redhat.com [10.36.112.94]) by smtp.corp.redhat.com (Postfix) with ESMTP id A226E5D9CD; Fri, 11 Dec 2020 09:12:51 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id D40C1A1EE; Fri, 11 Dec 2020 10:12:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1607677981; 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=DHX9kZNd9vnjdHnG2uLRwzRxWwhk2Yrco6cXucV4B9E=; b=FjreoQLpKm5vlQlQg6jrUqroZY8XvpXWowj09IdUkg3mHWGC9AyMub9Lj9KUOLSm3Rt7jQ SzNEVf5mBKAhWuEQxujRL+ese/jUdM3d2kQjbzZQz9N0vkpt4dxFqE0WlQp7z9BGaIZ7Yf pPzNPRRyR4UfaejCBBCydxGtFKLSb20= X-MC-Unique: K6862J02MZ2wE3IbP4vXnw-1 From: Gerd Hoffmann To: qemu-devel@nongnu.org Subject: [PULL 1/8] console: drop qemu_console_get_ui_info Date: Fri, 11 Dec 2020 10:12:43 +0100 Message-Id: <20201211091250.1415-2-kraxel@redhat.com> In-Reply-To: <20201211091250.1415-1-kraxel@redhat.com> References: <20201211091250.1415-1-kraxel@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 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=216.205.24.124; envelope-from=kraxel@redhat.com; helo=us-smtp-delivery-124.mimecast.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, 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_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, 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: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , =?UTF-8?q?Daniel=20P=20=2E=20Berrang=C3=A9?= , Gerd Hoffmann Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Unused and duplicate (there is dpy_get_ui_info). Signed-off-by: Gerd Hoffmann Reviewed-by: Marc-Andr=C3=A9 Lureau Reviewed-by: Daniel P. Berrang=C3=A9 Message-id: 20201208115737.18581-2-kraxel@redhat.com --- include/ui/console.h | 1 - ui/console.c | 6 ------ 2 files changed, 7 deletions(-) diff --git a/include/ui/console.h b/include/ui/console.h index e7303d8b98a8..5dd21976a376 100644 --- a/include/ui/console.h +++ b/include/ui/console.h @@ -390,7 +390,6 @@ bool qemu_console_is_gl_blocked(QemuConsole *con); char *qemu_console_get_label(QemuConsole *con); int qemu_console_get_index(QemuConsole *con); uint32_t qemu_console_get_head(QemuConsole *con); -QemuUIInfo *qemu_console_get_ui_info(QemuConsole *con); int qemu_console_get_width(QemuConsole *con, int fallback); int qemu_console_get_height(QemuConsole *con, int fallback); /* Return the low-level window id for the console */ diff --git a/ui/console.c b/ui/console.c index 53dee8e26b17..f995639e45f6 100644 --- a/ui/console.c +++ b/ui/console.c @@ -2122,12 +2122,6 @@ uint32_t qemu_console_get_head(QemuConsole *con) return con ? con->head : -1; } =20 -QemuUIInfo *qemu_console_get_ui_info(QemuConsole *con) -{ - assert(con !=3D NULL); - return &con->ui_info; -} - int qemu_console_get_width(QemuConsole *con, int fallback) { if (con =3D=3D NULL) { --=20 2.27.0