cpus: Drop declaration of cpu_remove()
commitc5af3c0d855cc7577b9dd4758f3fcdd7d38b6241
authorGreg Kurz <groug@kaod.org>
Wed, 14 Oct 2020 13:40:57 +0000 (14 15:40 +0200)
committerLaurent Vivier <laurent@vivier.eu>
Tue, 27 Oct 2020 15:48:49 +0000 (27 16:48 +0100)
treef2baa6fa1e0cb6e1cfcb3e12bb708dee590dae64
parent018da27970780c0ee4f2df7c06fc7c6c89edb3ee
cpus: Drop declaration of cpu_remove()

cpu_remove() got superseded by cpu_remove_sync() in commit dbadee4ff4a0,
but its prototype wasn't removed. We could possibly keep the shorter
cpu_remove() naming but it seems better to highligth that this blocks
until the CPU thread is joined.

Fixes: dbadee4ff4a0 ("cpus: join thread when removing a vCPU")
Cc: pbonzini@redhat.com
Signed-off-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <160268285707.1107461.15035929822602623985.stgit@bahia.lan>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
include/hw/core/cpu.h