Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp15219922rwb; Mon, 28 Nov 2022 09:09:29 -0800 (PST) X-Google-Smtp-Source: AA0mqf5KTbptAt/jrHjMTrOYMVf01BEqeVKa88kKm/rIE086dU2KMfLLWUdQgniDv+HBxVY+dX/0 X-Received: by 2002:a17:907:9854:b0:7bc:30e0:6bea with SMTP id jj20-20020a170907985400b007bc30e06beamr16081034ejc.49.1669655368935; Mon, 28 Nov 2022 09:09:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669655368; cv=none; d=google.com; s=arc-20160816; b=itvW7FBf4X91XEs/5LqNlLCXha92T4C6ZCh/PMU6j6Srq5JWWYgl8FhDhmy2eejf8F MzIvs+5Ld/tladbgf0yLtUGuRPkoBhioMOPOxv+jE9ku6X2tsMQaJ8osFnrI1qHAACMM saMnIG4Fh7gAVMFOgjX72Tbf6ulmf7RxlPHH0HmlXQKI5dI2Cz4jI/3xPEtQtHjjT62O 6W3YgA17M/PVf0KPrA9TM+A3tyQ27KF+4lsLeNDARHZN2GP9vOzcL8IsLEPtFnBKv518 U1fhaH8cmOUIFrjD1NrvpnBBeDeIKKdRP2sGo4stRnrWVhRncIAQNkCHkRQg4z9eGgdp EePQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=7G5jJwuL5a/PRNCMiCmBEuKFRdtzizPv7c8U41zNCGg=; b=IqMp4AzadhTnfpBT/Snuz19IvOgSSuNla8x8rXW7Sb3sOESrGA68eGcwSzLXO6pXGq 7K9PAyr4iwPkCa35N44NZL4eKsI+6Bnt1d+U5SogvA/dvMG1fsuQZy7HLuogTB4HsC4k ecWT1aCxgUn7UudhzPxHekiUqsLwoFYTNzlH3ZFLLEhNuj9+lPSQw+37fzyvHWDYY4x1 VqBxMmS0XFJ6rYj6rsSbejKfVgP/YlvnxECxvxJcdnKUEutr3uQhJr2DGQsToXEDXHne Frp9g07YZ111Zrrf8hbdeXrFiHOvY8H0hhBLjpf+QsMwjexg5dPCuHWFVY+yZ+gdsJCH eb7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=lrhiGfsI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 30-20020a17090600de00b0078da3218b54si8827006eji.171.2022.11.28.09.08.57; Mon, 28 Nov 2022 09:09:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=lrhiGfsI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232648AbiK1QO4 (ORCPT + 84 others); Mon, 28 Nov 2022 11:14:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45628 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232552AbiK1QOt (ORCPT ); Mon, 28 Nov 2022 11:14:49 -0500 Received: from mail-pl1-x62c.google.com (mail-pl1-x62c.google.com [IPv6:2607:f8b0:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 24A7F1E731 for ; Mon, 28 Nov 2022 08:14:47 -0800 (PST) Received: by mail-pl1-x62c.google.com with SMTP id d6so10617137pll.7 for ; Mon, 28 Nov 2022 08:14:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=7G5jJwuL5a/PRNCMiCmBEuKFRdtzizPv7c8U41zNCGg=; b=lrhiGfsIfOZZ6ZSUfqLx0rHc7pIdz7RcfT9qTrum1U7zEbSdCBeuIAffCX9Zp8ALzF QijgFUXavVRujVGmYAnKR1lA7+nl0rsXn93dezLwx1IfkYQzPwSBifIe80oHP5YPSNfc knJREFODU6y9oD6lGpxSJe1Z11OJ6f2uhBT+lDLN5hl+0oVV4AfxOOWa3kwft1/6s6lx aTDoavz9I3OMPVZ9lBIUtc5Ojne1pFtIbwfL9S3hme8LFnTWMBEPkv0ZxJO9IERhQXKD LrpdyEUC76y9Wc7Qr2xmmRCricyYcugnKM711T3L0zNHCOD60LH6Nf7/CUcYy2YCLjPs 1heg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7G5jJwuL5a/PRNCMiCmBEuKFRdtzizPv7c8U41zNCGg=; b=lFB6LkCkKjW24ZWzIPLgdN+UJ53+3CT2BUtWqcQr+1Rvzs8aixKsgXoJ4oRkFc4z6s nrFhwnt0rmqN+9/uD9yoTnegVZbpPFZeiJxWvmSKvpdvOEmTgu0hPEAiu2XW2n9EhUZO lP1+E/FIqC2Rnak3Zl8suVwjjM+NKWeK8FcYGKdqpVG7AZPmdQtuCiVxv005N5gvdSuk J8J81xU5wN8hp+QRFpIkileU/pp8+O5DeawD5f2DgldmLJ219Y0F3iHvzdWzmDKqtpKU 1MyvuwO46A/pWDZCadYQM0oAKGh/i0Qv+ICJ4SDaHjiEHiKDRmPoGnOIcbXCEl4tUgnq 8d9Q== X-Gm-Message-State: ANoB5pmHlnZX55YPnEgZVBwH9P+3ejRVDhNvmy6qQWipRt4pG5UEg6ab MG9vozK+1UR2FrJngKW9ZCAXXg== X-Received: by 2002:a17:902:9307:b0:189:9284:2140 with SMTP id bc7-20020a170902930700b0018992842140mr2574760plb.111.1669652087098; Mon, 28 Nov 2022 08:14:47 -0800 (PST) Received: from anup-ubuntu-vm.localdomain ([171.76.85.0]) by smtp.gmail.com with ESMTPSA id k145-20020a628497000000b0056246403534sm8210805pfd.88.2022.11.28.08.14.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Nov 2022 08:14:46 -0800 (PST) From: Anup Patel To: Paolo Bonzini , Atish Patra Cc: Palmer Dabbelt , Paul Walmsley , Andrew Jones , Anup Patel , kvm@vger.kernel.org, kvm-riscv@lists.infradead.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Anup Patel Subject: [PATCH 3/9] RISC-V: KVM: Remove redundant includes of asm/csr.h Date: Mon, 28 Nov 2022 21:44:18 +0530 Message-Id: <20221128161424.608889-4-apatel@ventanamicro.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221128161424.608889-1-apatel@ventanamicro.com> References: <20221128161424.608889-1-apatel@ventanamicro.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org We should include asm/csr.h only where required so let us remove redundant includes of this header. Signed-off-by: Anup Patel --- arch/riscv/include/asm/kvm_host.h | 1 - arch/riscv/kvm/vcpu_sbi_base.c | 1 - arch/riscv/kvm/vcpu_sbi_hsm.c | 1 - arch/riscv/kvm/vcpu_sbi_replace.c | 1 - arch/riscv/kvm/vcpu_sbi_v01.c | 1 - 5 files changed, 5 deletions(-) diff --git a/arch/riscv/include/asm/kvm_host.h b/arch/riscv/include/asm/kvm_host.h index dbbf43d52623..6502f9099965 100644 --- a/arch/riscv/include/asm/kvm_host.h +++ b/arch/riscv/include/asm/kvm_host.h @@ -13,7 +13,6 @@ #include #include #include -#include #include #include #include diff --git a/arch/riscv/kvm/vcpu_sbi_base.c b/arch/riscv/kvm/vcpu_sbi_base.c index 22b9126e2872..0c806f61c629 100644 --- a/arch/riscv/kvm/vcpu_sbi_base.c +++ b/arch/riscv/kvm/vcpu_sbi_base.c @@ -10,7 +10,6 @@ #include #include #include -#include #include #include diff --git a/arch/riscv/kvm/vcpu_sbi_hsm.c b/arch/riscv/kvm/vcpu_sbi_hsm.c index 239dec0a628a..2e915cafd551 100644 --- a/arch/riscv/kvm/vcpu_sbi_hsm.c +++ b/arch/riscv/kvm/vcpu_sbi_hsm.c @@ -9,7 +9,6 @@ #include #include #include -#include #include #include diff --git a/arch/riscv/kvm/vcpu_sbi_replace.c b/arch/riscv/kvm/vcpu_sbi_replace.c index 4c034d8a606a..03a0198389f0 100644 --- a/arch/riscv/kvm/vcpu_sbi_replace.c +++ b/arch/riscv/kvm/vcpu_sbi_replace.c @@ -9,7 +9,6 @@ #include #include #include -#include #include #include #include diff --git a/arch/riscv/kvm/vcpu_sbi_v01.c b/arch/riscv/kvm/vcpu_sbi_v01.c index 8a91a14e7139..489f225ee66d 100644 --- a/arch/riscv/kvm/vcpu_sbi_v01.c +++ b/arch/riscv/kvm/vcpu_sbi_v01.c @@ -9,7 +9,6 @@ #include #include #include -#include #include #include #include -- 2.34.1