[PATCH] sysemu: Cleanup qemu_run_machine_init_done_notifiers()

Xiaoyao Li posted 1 patch 2 years, 3 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20220104024136.1433545-1-xiaoyao.li@intel.com
include/sysemu/sysemu.h | 1 -
1 file changed, 1 deletion(-)
[PATCH] sysemu: Cleanup qemu_run_machine_init_done_notifiers()
Posted by Xiaoyao Li 2 years, 3 months ago
Remove qemu_run_machine_init_done_notifiers() since no implementation
and user.

Signed-off-by: Xiaoyao Li <xiaoyao.li@intel.com>
---
 include/sysemu/sysemu.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/sysemu/sysemu.h b/include/sysemu/sysemu.h
index 8fae667172ac..b9421e03ffdd 100644
--- a/include/sysemu/sysemu.h
+++ b/include/sysemu/sysemu.h
@@ -16,7 +16,6 @@ extern bool qemu_uuid_set;
 void qemu_add_exit_notifier(Notifier *notify);
 void qemu_remove_exit_notifier(Notifier *notify);
 
-void qemu_run_machine_init_done_notifiers(void);
 void qemu_add_machine_init_done_notifier(Notifier *notify);
 void qemu_remove_machine_init_done_notifier(Notifier *notify);
 
-- 
2.27.0


Re: [PATCH] sysemu: Cleanup qemu_run_machine_init_done_notifiers()
Posted by Philippe Mathieu-Daudé 2 years, 3 months ago
On Tue, Jan 4, 2022 at 3:41 AM Xiaoyao Li <xiaoyao.li@intel.com> wrote:
>
> Remove qemu_run_machine_init_done_notifiers() since no implementation
> and user.

Fixes: f66dc8737c9 ("vl: move all generic initialization out of vl.c")
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>

> Signed-off-by: Xiaoyao Li <xiaoyao.li@intel.com>
> ---
>  include/sysemu/sysemu.h | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/include/sysemu/sysemu.h b/include/sysemu/sysemu.h
> index 8fae667172ac..b9421e03ffdd 100644
> --- a/include/sysemu/sysemu.h
> +++ b/include/sysemu/sysemu.h
> @@ -16,7 +16,6 @@ extern bool qemu_uuid_set;
>  void qemu_add_exit_notifier(Notifier *notify);
>  void qemu_remove_exit_notifier(Notifier *notify);
>
> -void qemu_run_machine_init_done_notifiers(void);
>  void qemu_add_machine_init_done_notifier(Notifier *notify);
>  void qemu_remove_machine_init_done_notifier(Notifier *notify);
>
> --
> 2.27.0
>
>

Re: [PATCH] sysemu: Cleanup qemu_run_machine_init_done_notifiers()
Posted by Richard Henderson 2 years, 3 months ago
On 1/3/22 6:41 PM, Xiaoyao Li wrote:
> Remove qemu_run_machine_init_done_notifiers() since no implementation
> and user.
> 
> Signed-off-by: Xiaoyao Li<xiaoyao.li@intel.com>
> ---
>   include/sysemu/sysemu.h | 1 -
>   1 file changed, 1 deletion(-)

Queued to tcg-next.  Thanks.

r~