Skip to content
Snippets Groups Projects
Commit 47538e44 authored by Marc-André Lureau's avatar Marc-André Lureau Committed by Philippe Mathieu-Daudé
Browse files

memory: drop needless argument


The argument is unused since commit bdc44640 ("cpu: Use QTAILQ for CPU list").

Signed-off-by: default avatarMarc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: default avatarDavid Hildenbrand <david@redhat.com>
Reviewed-by: default avatarPhilippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20231009075231.150568-1-marcandre.lureau@redhat.com>
Signed-off-by: default avatarPhilippe Mathieu-Daudé <philmd@linaro.org>
parent da6f5544
No related branches found
No related tags found
No related merge requests found
...@@ -291,7 +291,7 @@ void guest_phys_blocks_append(GuestPhysBlockList *list) ...@@ -291,7 +291,7 @@ void guest_phys_blocks_append(GuestPhysBlockList *list)
memory_listener_unregister(&g.listener); memory_listener_unregister(&g.listener);
} }
static CPUState *find_paging_enabled_cpu(CPUState *start_cpu) static CPUState *find_paging_enabled_cpu(void)
{ {
CPUState *cpu; CPUState *cpu;
...@@ -312,7 +312,7 @@ void qemu_get_guest_memory_mapping(MemoryMappingList *list, ...@@ -312,7 +312,7 @@ void qemu_get_guest_memory_mapping(MemoryMappingList *list,
GuestPhysBlock *block; GuestPhysBlock *block;
ram_addr_t offset, length; ram_addr_t offset, length;
first_paging_enabled_cpu = find_paging_enabled_cpu(first_cpu); first_paging_enabled_cpu = find_paging_enabled_cpu();
if (first_paging_enabled_cpu) { if (first_paging_enabled_cpu) {
for (cpu = first_paging_enabled_cpu; cpu != NULL; for (cpu = first_paging_enabled_cpu; cpu != NULL;
cpu = CPU_NEXT(cpu)) { cpu = CPU_NEXT(cpu)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment