[PATCH] include/sysemu/sysemu.h: Remove usused variable no_quit

Thomas Huth posted 1 patch 4 years, 3 months ago
Test docker-mingw@fedora passed
Test asan failed
Test checkpatch passed
Test docker-quick@centos7 passed
Test FreeBSD passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20200108192402.19672-1-thuth@redhat.com
include/sysemu/sysemu.h | 1 -
1 file changed, 1 deletion(-)
[PATCH] include/sysemu/sysemu.h: Remove usused variable no_quit
Posted by Thomas Huth 4 years, 3 months ago
The no_quit variable has been removed in commit 78782712a62d56 ("vl: drop
no_quit variable"), so let's remove the extern declaration in the header
now, too.

Signed-off-by: Thomas Huth <thuth@redhat.com>
---
 include/sysemu/sysemu.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/sysemu/sysemu.h b/include/sysemu/sysemu.h
index 80c57fdc4e..686f4217a6 100644
--- a/include/sysemu/sysemu.h
+++ b/include/sysemu/sysemu.h
@@ -44,7 +44,6 @@ extern int alt_grab;
 extern int ctrl_grab;
 extern int cursor_hide;
 extern int graphic_rotate;
-extern int no_quit;
 extern int no_shutdown;
 extern int old_param;
 extern int boot_menu;
-- 
2.18.1


Re: [PATCH] include/sysemu/sysemu.h: Remove usused variable no_quit
Posted by Laurent Vivier 4 years, 3 months ago
in subject: s/usused/unused/

Le 08/01/2020 à 20:24, Thomas Huth a écrit :
> The no_quit variable has been removed in commit 78782712a62d56 ("vl: drop
> no_quit variable"), so let's remove the extern declaration in the header
> now, too.

Fixes: 78782712a62d ("vl: drop no_quit variable")

> Signed-off-by: Thomas Huth <thuth@redhat.com>
> ---
>  include/sysemu/sysemu.h | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/include/sysemu/sysemu.h b/include/sysemu/sysemu.h
> index 80c57fdc4e..686f4217a6 100644
> --- a/include/sysemu/sysemu.h
> +++ b/include/sysemu/sysemu.h
> @@ -44,7 +44,6 @@ extern int alt_grab;
>  extern int ctrl_grab;
>  extern int cursor_hide;
>  extern int graphic_rotate;
> -extern int no_quit;
>  extern int no_shutdown;
>  extern int old_param;
>  extern int boot_menu;
> 

Reviewed-by: Laurent Vivier <laurent@vivier.eu>

Re: [PATCH] include/sysemu/sysemu.h: Remove usused variable no_quit
Posted by Alex Bennée 4 years, 3 months ago
Thomas Huth <thuth@redhat.com> writes:

> The no_quit variable has been removed in commit 78782712a62d56 ("vl: drop
> no_quit variable"), so let's remove the extern declaration in the header
> now, too.
>
> Signed-off-by: Thomas Huth <thuth@redhat.com>

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>

> ---
>  include/sysemu/sysemu.h | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/include/sysemu/sysemu.h b/include/sysemu/sysemu.h
> index 80c57fdc4e..686f4217a6 100644
> --- a/include/sysemu/sysemu.h
> +++ b/include/sysemu/sysemu.h
> @@ -44,7 +44,6 @@ extern int alt_grab;
>  extern int ctrl_grab;
>  extern int cursor_hide;
>  extern int graphic_rotate;
> -extern int no_quit;
>  extern int no_shutdown;
>  extern int old_param;
>  extern int boot_menu;


-- 
Alex Bennée