From nobody Tue Oct 28 12:16:37 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (208.118.235.17 [208.118.235.17]) by mx.zohomail.com with SMTPS id 1514977572860298.8268139154667; Wed, 3 Jan 2018 03:06:12 -0800 (PST) Received: from localhost ([::1]:48668 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eWgry-0006G8-Ds for importer@patchew.org; Wed, 03 Jan 2018 06:06:02 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47717) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eWgnq-0002wS-E2 for qemu-devel@nongnu.org; Wed, 03 Jan 2018 06:01:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eWgnn-0005m1-86 for qemu-devel@nongnu.org; Wed, 03 Jan 2018 06:01:46 -0500 Received: from mail-qk0-x244.google.com ([2607:f8b0:400d:c09::244]:37967) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eWgnn-0005lj-3m for qemu-devel@nongnu.org; Wed, 03 Jan 2018 06:01:43 -0500 Received: by mail-qk0-x244.google.com with SMTP id l19so1060823qke.5 for ; Wed, 03 Jan 2018 03:01:42 -0800 (PST) Received: from x1.lan ([138.117.48.219]) by smtp.gmail.com with ESMTPSA id r55sm417735qta.57.2018.01.03.03.01.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 03 Jan 2018 03:01:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ReGJAGR3j6lmjUuw+VhJZfn2TmeJK5SK1EzuYDBcNlE=; b=F+ZtjbSdupsQxhhfNN2KYmTQknb5+cp5rJFfl5Prnyb+EqFhw3ere2uC+cv4SuK8oS ULchJ4ab5dYt8e2SeblROXGK8c7l5aqafD6Q0T2F7BAFKn9C5ShtcoFxZ8bO+tebCIu0 pYdq00kXG7AcMU7G2QZDfl3U1XMKrOgUBIyl8VtgEgJHcjAETn49Lf3137HZZDuCTm3L tEAhCQ3Xen4753t2L4VnypjLadzYcnBrysuQuarmImfaAu2235EZM1LM9lfhHw7UF21c KL/XUFn/RIvJbbNx2oPzuX6DLewk+nBr+lPVuPqOs9PtJlRJy2lg2bLMU8CffJX93x1f zbRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=ReGJAGR3j6lmjUuw+VhJZfn2TmeJK5SK1EzuYDBcNlE=; b=kXZ5A5EcQ3BsbxKrJBEuDwcr41OhH6Y3Cw6qTsfK+Wn0w0ddJYw+y+e2G15xxclmlf Pko/ATnUli+czcv/0JAp4M0EotKVxRbqV24jjqeRnU7ChnHzBdKdWBJ9D40FU7aSklIx dETCNEZy9lZyicsTGRi4CLNhzImxAZcKcx724/TJI57/TJV/0rweNrPuKI0H2YVmyWUO XmgzTruvqjsAKQa+yqE/OkAf79wFGRJuwOmK90KREq0wWApIAHGLj8ywbxlkMfVlFtVf c1J1AFv7+2UG4DpYE1Rj2NAXFf9wOfkIcY+Ash2PeQnbeTQv4D69ilAHtYPSUy152neP OyPQ== X-Gm-Message-State: AKGB3mLNvmXSNBkno10GlErxqFdjLZhOc9J8Rc1KTLio4j7PSvn5sxuy hWX7WsQQRh/XzPG1iTQmQ8o= X-Google-Smtp-Source: ACJfBoumRYekKf8ZtUMGbSGtqP27AMCVCREqG7CA2lPHu3klKtLuBPWL2ijR88LJVxoKeyff4fmOug== X-Received: by 10.55.10.2 with SMTP id 2mr1139029qkk.108.1514977302570; Wed, 03 Jan 2018 03:01:42 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: Alistair Francis Date: Wed, 3 Jan 2018 08:01:12 -0300 Message-Id: <20180103110126.29209-4-f4bug@amsat.org> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20180103110126.29209-1-f4bug@amsat.org> References: <20180103110126.29209-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c09::244 Subject: [Qemu-devel] [PATCH v4 03/17] sdhci: remove dead code X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Edgar E . Iglesias" , Peter Maydell , Fam Zheng , Eduardo Habkost , Andrey Smirnov , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Alistair Francis --- include/hw/sd/sdhci.h | 2 -- hw/sd/sdhci.c | 2 -- 2 files changed, 4 deletions(-) diff --git a/include/hw/sd/sdhci.h b/include/hw/sd/sdhci.h index 749cc279ed..a6fe064f51 100644 --- a/include/hw/sd/sdhci.h +++ b/include/hw/sd/sdhci.h @@ -44,8 +44,6 @@ typedef struct SDHCIState { =20 QEMUTimer *insert_timer; /* timer for 'changing' sd card. */ QEMUTimer *transfer_timer; - qemu_irq eject_cb; - qemu_irq ro_cb; qemu_irq irq; =20 /* Registers cleared on reset */ diff --git a/hw/sd/sdhci.c b/hw/sd/sdhci.c index b7d2a20985..365bc80009 100644 --- a/hw/sd/sdhci.c +++ b/hw/sd/sdhci.c @@ -1200,8 +1200,6 @@ static void sdhci_uninitfn(SDHCIState *s) timer_free(s->insert_timer); timer_del(s->transfer_timer); timer_free(s->transfer_timer); - qemu_free_irq(s->eject_cb); - qemu_free_irq(s->ro_cb); =20 g_free(s->fifo_buffer); s->fifo_buffer =3D NULL; --=20 2.15.1