Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp715735pxb; Fri, 8 Jan 2021 16:52:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJyjDVIonUeWC7AImOhOOrS7czZM4ukD8bGpufl1SExxLUyF+ivG1zrmyXws1iYyFYDDeqFH X-Received: by 2002:a50:ed04:: with SMTP id j4mr7255630eds.84.1610153546585; Fri, 08 Jan 2021 16:52:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610153546; cv=none; d=google.com; s=arc-20160816; b=UlSiVQMNsvIr52NM3clbbLs0FKj5ILYL7LukWIS/3oKCFu+yvO66ER5/zd/ddCz3gj gL0A1/R7TAVOZyPhYd+L0JM7Bhlq/kFbRvcZrNV/0a7uMm92Lvv2YwuF9eVPQ2ZDXlD4 hJqF8MzB6Z48p0p8mK7wcTngUHD6oT6Qr3xxqBQiOxNJRIhzg7lRIwHCf0JSb+B6NTjQ CJcDf67poBKJn7sVly2LMfWgTp5AiVpzwDEG5iXb7kq2TaCmJXp1ZyIGCjtoUCGdP8bv trpkcy52Nhsymg8xW3TnTe5Y/4yoi2YT2JPcRuirY0O2m4ca1SlR5Wsj05BZuzb3e93N rT3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:references:mime-version :message-id:in-reply-to:date:reply-to:sender:dkim-signature; bh=kFsJmkb8M3ufAjXEZxfMS0MYb/t7DHhSQPFJmc4E3xo=; b=CX+E+9+WQLZUaWj9YNulPAY30IKWT8ogsnCOPuSKEIrRLzBA9b0j96M6wQDdKmR3JO 3SXGWFdTdoUKSapAmssN3KZiG0MBwHSs/rl6qqTlZgpzq8ftZz3rr6rDa6wo1e/87yT8 sR8aO4UDts6owlUGj+NLae1jyxZPA7J82e5e+Iqt8XvYDkLZSrU+NmJWSc/g17Qu+hyq 94epw5RrZYHMpOKFCjjADGfj6pvP2HMTiOjyWK2T9iqUNOAFdozuVIC8iuhySi1RttdU gro0h5MetVCyg/HUNxTZVbNK8spZZgQUeq2DWI5L9eWMSMBBS+5+E/Vd5nf/DrKzsNCQ E1AA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=rwWV2rTc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b6si4746268edu.567.2021.01.08.16.52.03; Fri, 08 Jan 2021 16:52:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=rwWV2rTc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727021AbhAIAtq (ORCPT + 99 others); Fri, 8 Jan 2021 19:49:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40194 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726959AbhAIAtj (ORCPT ); Fri, 8 Jan 2021 19:49:39 -0500 Received: from mail-yb1-xb49.google.com (mail-yb1-xb49.google.com [IPv6:2607:f8b0:4864:20::b49]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0FFFDC0617A7 for ; Fri, 8 Jan 2021 16:48:06 -0800 (PST) Received: by mail-yb1-xb49.google.com with SMTP id l126so17420679ybl.10 for ; Fri, 08 Jan 2021 16:48:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=sender:reply-to:date:in-reply-to:message-id:mime-version:references :subject:from:to:cc; bh=kFsJmkb8M3ufAjXEZxfMS0MYb/t7DHhSQPFJmc4E3xo=; b=rwWV2rTcTh3ZbcOtWceFowsWqu8ZhEM+Zob5/myHWaq1UWg3OPjKSnndZK5sSABA8z /+p+ODXqLrx0qeslKe3E79H6kObTc1J6uBvTvEX8EPn8HW8nO/ywvYe3moIsuwj5otyY VraQ0gmOF6Ok0nKjiG0XDTDUOY39Vv8XxjJciWbj7oBpUyk5B7uD8221neIUcvwew7CE XvOwLpZ47hFnLaatlJhiBslX7xRVVP7FJbQVcGXYNqcLTs5iGuyg0jEzqF8pIXdvw7gL sKfm7inYaWjEALlOsq9qOOsnOpf9QMzVeMPUdedlw2HRaIzOB8Hk3etokpBeVi/SQclf 2qrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:reply-to:date:in-reply-to:message-id :mime-version:references:subject:from:to:cc; bh=kFsJmkb8M3ufAjXEZxfMS0MYb/t7DHhSQPFJmc4E3xo=; b=ZjRlnhPxJry7tml+Dr/A5mQNX1CJqUcJpbNwBdbHZUY8+J5hE0S2tNSr3PSjLGGML2 e8FMUsm7eXLmjIn4JqE2DVmS5egmN2LXHDMwtyPBPudfv9lASHPqZsFXCSG4xIKg8/FU BGpdKcjTBDkJ5hK1S0KHAQjQa+8gEKFq1B9fXZ0TDXYZxs9/+s25k5dYGKkCPq+9P6ED nBw4VraBhSYk2FyfcvoF3dexS2iPwa4PzDMuBSpvslFht0ws7ey4SFeNgb0W+0fBmhEV dGzFQruabL120zjJFO9px9gAtyM4h6PnytJAhTdcLfILiTy+AYMW7A78g8tvtF/+yfYp flgg== X-Gm-Message-State: AOAM530868MXpdvCPgo840yV+Ag7FtVT2TTGpcVdv3Wchvev7aQje01V oMa0GBKmiKZrR6kuzYB1WiMM6vHjfqE= Sender: "seanjc via sendgmr" X-Received: from seanjc798194.pdx.corp.google.com ([2620:15c:f:10:1ea0:b8ff:fe73:50f5]) (user=seanjc job=sendgmr) by 2002:a25:1386:: with SMTP id 128mr9070481ybt.374.1610153285308; Fri, 08 Jan 2021 16:48:05 -0800 (PST) Reply-To: Sean Christopherson Date: Fri, 8 Jan 2021 16:47:13 -0800 In-Reply-To: <20210109004714.1341275-1-seanjc@google.com> Message-Id: <20210109004714.1341275-13-seanjc@google.com> Mime-Version: 1.0 References: <20210109004714.1341275-1-seanjc@google.com> X-Mailer: git-send-email 2.30.0.284.gd98b1dd5eaa7-goog Subject: [PATCH 12/13] KVM: SVM: Remove an unnecessary prototype declaration of sev_flush_asids() From: Sean Christopherson To: Paolo Bonzini , Dave Hansen , Andy Lutomirski , Peter Zijlstra Cc: Sean Christopherson , Vitaly Kuznetsov , Wanpeng Li , Jim Mattson , Joerg Roedel , kvm@vger.kernel.org, linux-kernel@vger.kernel.org, Tom Lendacky , Borislav Petkov , Brijesh Singh Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove the forward declaration of sev_flush_asids(), which is only a few lines above the function itself. No functional change intended. Signed-off-by: Sean Christopherson --- arch/x86/kvm/svm/sev.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/x86/kvm/svm/sev.c b/arch/x86/kvm/svm/sev.c index 1b9174a49b65..b4a9c12cf8ce 100644 --- a/arch/x86/kvm/svm/sev.c +++ b/arch/x86/kvm/svm/sev.c @@ -36,7 +36,6 @@ static bool sev_es_enabled = IS_ENABLED(CONFIG_AMD_MEM_ENCRYPT_ACTIVE_BY_DEFAULT module_param_named(sev_es, sev_es_enabled, bool, 0444); static u8 sev_enc_bit; -static int sev_flush_asids(void); static DECLARE_RWSEM(sev_deactivate_lock); static DEFINE_MUTEX(sev_bitmap_lock); unsigned int max_sev_asid; -- 2.30.0.284.gd98b1dd5eaa7-goog