Received: from eggs.gnu.org ([2001:4830:134:3::10]:42189) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VapvI-0007Vi-SM for qemu-devel@nongnu.org; Mon, 28 Oct 2013 12:44:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VapvA-0000OG-4g for qemu-devel@nongnu.org; Mon, 28 Oct 2013 12:44:12 -0400 Received: from mail-qc0-x234.google.com ([2607:f8b0:400d:c01::234]:37732) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VapvA-0000O5-0w for qemu-devel@nongnu.org; Mon, 28 Oct 2013 12:44:04 -0400 Received: by mail-qc0-f180.google.com with SMTP id e9so3965391qcy.39 for ; Mon, 28 Oct 2013 09:44:03 -0700 (PDT) Sender: Paolo Bonzini From: Paolo Bonzini Date: Mon, 28 Oct 2013 17:43:23 +0100 Message-Id: <1382978620-16641-8-git-send-email-pbonzini@redhat.com> In-Reply-To: <1382978620-16641-1-git-send-email-pbonzini@redhat.com> References: <1382978620-16641-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH 07/24] ide: simplify async_cmd_done callbacks List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: mst@redhat.com Drop the unused return value. Signed-off-by: Paolo Bonzini --- hw/ide/ahci.c | 2 +- hw/ide/internal.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/ide/ahci.c b/hw/ide/ahci.c index 265e3f2..b4b8386 100644 --- a/hw/ide/ahci.c +++ b/hw/ide/ahci.c @@ -1106,7 +1106,7 @@ static int ahci_dma_add_status(IDEDMA *dma, int status) return 0; } -static int ahci_async_cmd_done(IDEDMA *dma) +static void ahci_async_cmd_done(IDEDMA *dma) { AHCIDevice *ad = DO_UPCAST(AHCIDevice, dma, dma); diff --git a/hw/ide/internal.h b/hw/ide/internal.h index 7c68f8e..43b8f43 100644 --- a/hw/ide/internal.h +++ b/hw/ide/internal.h @@ -434,7 +434,7 @@ struct IDEDMAOps { DMAIntFunc *set_unit; DMAIntFunc *add_status; DMAVoidFunc *set_inactive; - DMAFunc *async_cmd_done; + DMAVoidFunc *async_cmd_done; DMARestartFunc *restart_cb; DMAVoidFunc *reset; }; -- 1.8.3.1