From patchwork Tue Jun 14 22:41:19 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Huang, Shaoqin" X-Patchwork-Id: 12880582 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id EAA20C433EF for ; Tue, 14 Jun 2022 07:40:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239200AbiFNHkJ (ORCPT ); Tue, 14 Jun 2022 03:40:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56188 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234289AbiFNHkI (ORCPT ); Tue, 14 Jun 2022 03:40:08 -0400 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F4F82F652; Tue, 14 Jun 2022 00:40:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1655192407; x=1686728407; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=hqgb9+9/76MlkiEINqaaPHa0H8cwPqTYlC9k5aVSHkY=; b=BCj+sGx/n3Za90fpmZNSgFSBdiqGgQbBiF7C4bXPcn1tuUp8d+9Ti1Mf Jy1QLkMn2YWVIVzThVB/puW91KUCuuDXUPIUkvDCNdfgObULe29My5N91 InZazYb+TTk12Jw+/vmo5evgeKDlLOVJZu7Is5blDvs5mChMinLvMDcZN dBAPv5e+wZncMGZ3SD5ND6fRaR9qRCnefuBOsws/b7iKSELku3DH5nKmj sdcl4FjnlI/EE7cayxozsV/tWTmKBmllS4rA2mAHijpigm1IA3Pne4LRB iFzipkWqswLilOJQVHUHSeFjXVEOPDjlFKE3j75vDKR3jro7umWv8J5d2 w==; X-IronPort-AV: E=McAfee;i="6400,9594,10377"; a="364875044" X-IronPort-AV: E=Sophos;i="5.91,299,1647327600"; d="scan'208";a="364875044" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Jun 2022 00:40:07 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,299,1647327600"; d="scan'208";a="651887988" Received: from q.bj.intel.com ([10.238.154.102]) by fmsmga004.fm.intel.com with ESMTP; 14 Jun 2022 00:40:03 -0700 From: shaoqin.huang@intel.com To: pbonzini@redhat.com Cc: Shaoqin Huang , Shuah Khan , Sean Christopherson , Andrew Jones , David Matlack , Marc Zyngier , Oliver Upton , Ricardo Koller , Wei Wang , Peter Gonda , David Dunn , kvm@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] KVM: selftests: Remove the mismatched parameter comments Date: Tue, 14 Jun 2022 16:41:19 -0600 Message-Id: <20220614224126.211054-1-shaoqin.huang@intel.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-kselftest@vger.kernel.org From: Shaoqin Huang There are some parameter being removed in function but the parameter comments still exist, so remove them. Signed-off-by: Shaoqin Huang --- tools/testing/selftests/kvm/lib/kvm_util.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/tools/testing/selftests/kvm/lib/kvm_util.c b/tools/testing/selftests/kvm/lib/kvm_util.c index 1665a220abcb..58fdc82b20f4 100644 --- a/tools/testing/selftests/kvm/lib/kvm_util.c +++ b/tools/testing/selftests/kvm/lib/kvm_util.c @@ -1336,8 +1336,6 @@ static vm_vaddr_t vm_vaddr_unused_gap(struct kvm_vm *vm, size_t sz, * vm - Virtual Machine * sz - Size in bytes * vaddr_min - Minimum starting virtual address - * data_memslot - Memory region slot for data pages - * pgd_memslot - Memory region slot for new virtual translation tables * * Output Args: None * @@ -1423,7 +1421,6 @@ vm_vaddr_t vm_vaddr_alloc_page(struct kvm_vm *vm) * vaddr - Virtuall address to map * paddr - VM Physical Address * npages - The number of pages to map - * pgd_memslot - Memory region slot for new virtual translation tables * * Output Args: None *