From patchwork Tue May 31 05:21:14 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kai Huang X-Patchwork-Id: 9143283 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id E552E60777 for ; Tue, 31 May 2016 05:29:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CCB3727C05 for ; Tue, 31 May 2016 05:29:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AF0E628206; Tue, 31 May 2016 05:29:21 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7997D27C05 for ; Tue, 31 May 2016 05:29:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751104AbcEaF3K (ORCPT ); Tue, 31 May 2016 01:29:10 -0400 Received: from mga01.intel.com ([192.55.52.88]:26496 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750868AbcEaF3I (ORCPT ); Tue, 31 May 2016 01:29:08 -0400 Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP; 30 May 2016 22:29:06 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,394,1459839600"; d="scan'208";a="977650455" Received: from kai-testing-ubuntu.bj.intel.com ([10.238.154.51]) by fmsmga001.fm.intel.com with ESMTP; 30 May 2016 22:29:05 -0700 From: Kai Huang To: pbonzini@redhat.com, rkrcmar@redhat.com, kvm@vger.kernel.org Cc: Kai Huang Subject: [PATCH] kvm/x86: remove unnecessary header file inclusion Date: Tue, 31 May 2016 13:21:14 +0800 Message-Id: <1464672074-8864-1-git-send-email-kai.huang@linux.intel.com> X-Mailer: git-send-email 2.5.0 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP arch/x86/kvm/iommu.c includes and , which both are unnecessary, in fact incorrect to be here as they are intel specific. Building kvm on x86 passed after removing above inclusion. Signed-off-by: Kai Huang --- arch/x86/kvm/iommu.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/x86/kvm/iommu.c b/arch/x86/kvm/iommu.c index a22a488..15d8fff 100644 --- a/arch/x86/kvm/iommu.c +++ b/arch/x86/kvm/iommu.c @@ -28,9 +28,7 @@ #include #include #include -#include #include -#include #include "assigned-dev.h" static bool allow_unsafe_assigned_interrupts;