From patchwork Thu Feb 20 13:05:39 2020 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: 11394097 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id CA0EA17E0 for ; Thu, 20 Feb 2020 13:07:35 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A6D56206ED for ; Thu, 20 Feb 2020 13:07:35 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="DoDDvACj" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A6D56206ED Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1j4lXh-0001lI-Rj; Thu, 20 Feb 2020 13:07:01 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1j4lXh-0001kj-5Q for xen-devel@lists.xenproject.org; Thu, 20 Feb 2020 13:07:01 +0000 X-Inumbo-ID: e187c853-53e1-11ea-8526-12813bfff9fa Received: from us-smtp-1.mimecast.com (unknown [205.139.110.61]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTP id e187c853-53e1-11ea-8526-12813bfff9fa; Thu, 20 Feb 2020 13:07:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1582204020; 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=sxNYWqNUijyMJnaH8NFL0bgSwoZM6mID2KmYVvs4o6o=; b=DoDDvACjU3/4DnB+zEFd6oX6JqFAuLfnyBY/mPudGuSRzF//JkQpa9i6hnWEpra48nK9n5 T8EV+PCYMBuuiYD6Jb8qhmCsz6MUiRSJO19bk3bFMwAho8sGCJKBpP+EvIObz04dco9x0I 7XjllPrA8mwEC0iMDtdvpJUMzYCtQSk= Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-134-9s2Z5wd0PU2tM80Ox0SLAA-1; Thu, 20 Feb 2020 08:06:58 -0500 Received: by mail-wr1-f72.google.com with SMTP id d8so1702214wrq.12 for ; Thu, 20 Feb 2020 05:06:58 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=HqjVrldq/ACwB3h0fVhMHW95VpOuJ6iegNutM3g++eM=; b=WHPo43NailY7oCh1yHirAmH9j+DrJapvOyW9cjR9KIqvOQhnkvQf6f6/amnH/yfIwF lQlAtSF/PWnKCLIzrI/ziqrF2v902yzoshAZ06BiCi962juxvlcOCTalCDWeqJPzIber ofYDIhOCVEBqwMSc6+oGZrdi1QxMH9wn0PIxe39iZUS0pQlQave57z1eVXpNWwG7BM+U BkIj5IiunMTxOA8w+KkL0iLlKaDqn5DaUb7dOWf2gM+ZjPdyOMsuOC1MlymDjf280bZL UJJ/X20mxJNXXRp6R4/mRCCRShOLzHwtonr3p4E65KPBXYSosD7Vw0eT8SeHW3dF49/M CORQ== X-Gm-Message-State: APjAAAVBQbWeMf37Y5yhWlPIsCcuFl3Mgv1eIUnk/8oa7xCaDW9TwHtt /JeY2rJyY/mrfGKiiDI278BcQu5J+lKqCqDglk0T69pUENv0XRzxq0drmV7ZCbfkNcHAKanBfwV YvDLWd0Svz3fIyCxKiv+nspUmAZ8= X-Received: by 2002:a5d:4e91:: with SMTP id e17mr40463045wru.233.1582204017586; Thu, 20 Feb 2020 05:06:57 -0800 (PST) X-Google-Smtp-Source: APXvYqxMGFl+IFZrtHZDte4P/R96xDKYdgOkawy+8epg2tZDd8Fi56EKpiHK5Ha76g6PPzAayNlwiw== X-Received: by 2002:a5d:4e91:: with SMTP id e17mr40461365wru.233.1582203995044; Thu, 20 Feb 2020 05:06:35 -0800 (PST) Received: from localhost.localdomain (78.red-88-21-202.staticip.rima-tde.net. [88.21.202.78]) by smtp.gmail.com with ESMTPSA id b67sm4594690wmc.38.2020.02.20.05.06.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Feb 2020 05:06:34 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: Peter Maydell , qemu-devel@nongnu.org Date: Thu, 20 Feb 2020 14:05:39 +0100 Message-Id: <20200220130548.29974-12-philmd@redhat.com> X-Mailer: git-send-email 2.21.1 In-Reply-To: <20200220130548.29974-1-philmd@redhat.com> References: <20200220130548.29974-1-philmd@redhat.com> MIME-Version: 1.0 X-MC-Unique: 9s2Z5wd0PU2tM80Ox0SLAA-1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Subject: [Xen-devel] [PATCH v3 11/20] hw/ide/internal: Remove unused DMARestartFunc typedef X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Fam Zheng , Dmitry Fleytman , kvm@vger.kernel.org, "Michael S. Tsirkin" , Jason Wang , Gerd Hoffmann , "Edgar E. Iglesias" , Stefano Stabellini , Matthew Rosato , qemu-block@nongnu.org, David Hildenbrand , Halil Pasic , Christian Borntraeger , =?utf-8?q?Herv=C3=A9_Poussi?= =?utf-8?q?neau?= , Marcel Apfelbaum , Anthony Perard , xen-devel@lists.xenproject.org, Aleksandar Rikalo , Richard Henderson , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Laurent Vivier , Thomas Huth , Eduardo Habkost , Stefan Weil , Alistair Francis , Richard Henderson , Paul Durrant , Eric Auger , qemu-s390x@nongnu.org, qemu-arm@nongnu.org, =?utf-8?q?C=C3=A9dric_Le_Goater?= , John Snow , David Gibson , Igor Mitsyanko , Cornelia Huck , Michael Walle , qemu-ppc@nongnu.org, Paolo Bonzini Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" The IDE DMA restart callback has been removed in commit fe09c7c9f0. Fixes: fe09c7c9f0 Signed-off-by: Philippe Mathieu-Daudé Acked-by: John Snow --- include/hw/ide/internal.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/hw/ide/internal.h b/include/hw/ide/internal.h index 52ec197da0..ce766ac485 100644 --- a/include/hw/ide/internal.h +++ b/include/hw/ide/internal.h @@ -326,7 +326,6 @@ typedef int DMAIntFunc(IDEDMA *, int); typedef int32_t DMAInt32Func(IDEDMA *, int32_t len); typedef void DMAu32Func(IDEDMA *, uint32_t); typedef void DMAStopFunc(IDEDMA *, bool); -typedef void DMARestartFunc(void *, int, RunState); struct unreported_events { bool eject_request;