From patchwork Tue Dec 12 05:17:26 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexey Kardashevskiy X-Patchwork-Id: 847325 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3ywp520bn6z9s7f for ; Tue, 12 Dec 2017 16:18:30 +1100 (AEDT) Received: from localhost ([::1]:56711 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eOcxY-0005LZ-7V for incoming@patchwork.ozlabs.org; Tue, 12 Dec 2017 00:18:28 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47005) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eOcx6-0005Kl-Hc for qemu-devel@nongnu.org; Tue, 12 Dec 2017 00:18:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eOcx5-0006RE-Ik for qemu-devel@nongnu.org; Tue, 12 Dec 2017 00:18:00 -0500 Received: from ozlabs.ru ([107.173.13.209]:60490) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eOcx5-0006Qz-C6 for qemu-devel@nongnu.org; Tue, 12 Dec 2017 00:17:59 -0500 Received: from vpl1.ozlabs.ibm.com (localhost [IPv6:::1]) by ozlabs.ru (Postfix) with ESMTP id CC7333A60051; Tue, 12 Dec 2017 00:16:50 -0500 (EST) From: Alexey Kardashevskiy To: qemu-devel@nongnu.org Date: Tue, 12 Dec 2017 16:17:26 +1100 Message-Id: <20171212051726.24520-1-aik@ozlabs.ru> X-Mailer: git-send-email 2.11.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 107.173.13.209 Subject: [Qemu-devel] [PATCH qemu v2] vfio-pci: Remove unused fields from VFIOMSIXInfo 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: Alexey Kardashevskiy , Alex Williamson Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" When support for multiple mappings per a region were added, this was left behind, let's finish and remove unused bits. Fixes: db0da029a185 "vfio: Generalize region support" Signed-off-by: Alexey Kardashevskiy --- Changes: v2: * updated commit log --- hw/vfio/pci.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/hw/vfio/pci.h b/hw/vfio/pci.h index 502a575..a8fb3b3 100644 --- a/hw/vfio/pci.h +++ b/hw/vfio/pci.h @@ -93,8 +93,6 @@ typedef struct VFIOMSIXInfo { uint16_t entries; uint32_t table_offset; uint32_t pba_offset; - MemoryRegion mmap_mem; - void *mmap; unsigned long *pending; } VFIOMSIXInfo;