From patchwork Mon Sep 13 15:44:08 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandru Elisei X-Patchwork-Id: 12489795 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9A304C433EF for ; Mon, 13 Sep 2021 15:44:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 80F0C60F6F for ; Mon, 13 Sep 2021 15:44:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242067AbhIMPqI (ORCPT ); Mon, 13 Sep 2021 11:46:08 -0400 Received: from foss.arm.com ([217.140.110.172]:33188 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245681AbhIMPoM (ORCPT ); Mon, 13 Sep 2021 11:44:12 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 846911042; Mon, 13 Sep 2021 08:42:54 -0700 (PDT) Received: from monolith.cable.virginm.net (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 48B823F719; Mon, 13 Sep 2021 08:42:53 -0700 (PDT) From: Alexandru Elisei To: will@kernel.org, julien.thierry.kdev@gmail.com, kvm@vger.kernel.org Cc: andre.przywara@arm.com, jean-philippe@linaro.org Subject: [PATCH v1 kvmtool 2/7] vfio/pci.c: Remove double include for assert.h Date: Mon, 13 Sep 2021 16:44:08 +0100 Message-Id: <20210913154413.14322-3-alexandru.elisei@arm.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210913154413.14322-1-alexandru.elisei@arm.com> References: <20210913154413.14322-1-alexandru.elisei@arm.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org assert.h is included twice, keep only one instance. Signed-off-by: Alexandru Elisei Reviewed-by: Andre Przywara --- vfio/pci.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/vfio/pci.c b/vfio/pci.c index ea33fd6..10ff99e 100644 --- a/vfio/pci.c +++ b/vfio/pci.c @@ -10,8 +10,6 @@ #include #include -#include - /* Some distros don't have the define. */ #ifndef PCI_CAP_EXP_RC_ENDPOINT_SIZEOF_V1 #define PCI_CAP_EXP_RC_ENDPOINT_SIZEOF_V1 12