aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/kvm/lib/kvm_util.c
diff options
context:
space:
mode:
authorShaoqin Huang <shaoqin.huang@intel.com>2022-06-14 16:41:19 -0600
committerPaolo Bonzini <pbonzini@redhat.com>2022-06-15 08:00:47 -0400
commit1cb67e25f9a844425f85e592c7ffb8428800a796 (patch)
tree747dfbc79c9563b74bd9e6c71564eca668b02db4 /tools/testing/selftests/kvm/lib/kvm_util.c
parentKVM: selftests: Use kvm_has_cap(), not kvm_check_cap(), where possible (diff)
downloadlinux-dev-1cb67e25f9a844425f85e592c7ffb8428800a796.tar.xz
linux-dev-1cb67e25f9a844425f85e592c7ffb8428800a796.zip
KVM: selftests: Remove the mismatched parameter comments
There are some parameter being removed in function but the parameter comments still exist, so remove them. Signed-off-by: Shaoqin Huang <shaoqin.huang@intel.com> Message-Id: <20220614224126.211054-1-shaoqin.huang@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/testing/selftests/kvm/lib/kvm_util.c')
-rw-r--r--tools/testing/selftests/kvm/lib/kvm_util.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/tools/testing/selftests/kvm/lib/kvm_util.c b/tools/testing/selftests/kvm/lib/kvm_util.c
index bceb668f2627..f8c104dba258 100644
--- a/tools/testing/selftests/kvm/lib/kvm_util.c
+++ b/tools/testing/selftests/kvm/lib/kvm_util.c
@@ -1163,8 +1163,6 @@ va_found:
* 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
*
@@ -1250,7 +1248,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
*