diff mbox series

monitor: Remove unused define

Message ID 20191119110709.13827-1-yury-kotov@yandex-team.ru (mailing list archive)
State New, archived
Headers show
Series monitor: Remove unused define | expand

Commit Message

Yury Kotov Nov. 19, 2019, 11:07 a.m. UTC
Remove the definition of QMP_ACCEPT_UNKNOWNS as it is unused since
refactoring 5c678ee8d940

Signed-off-by: Yury Kotov <yury-kotov@yandex-team.ru>
---
 monitor/misc.c | 3 ---
 1 file changed, 3 deletions(-)

Comments

Marc-André Lureau Nov. 19, 2019, 11:53 a.m. UTC | #1
On Tue, Nov 19, 2019 at 3:07 PM Yury Kotov <yury-kotov@yandex-team.ru> wrote:
>
> Remove the definition of QMP_ACCEPT_UNKNOWNS as it is unused since
> refactoring 5c678ee8d940
>
> Signed-off-by: Yury Kotov <yury-kotov@yandex-team.ru>

Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>

> ---
>  monitor/misc.c | 3 ---
>  1 file changed, 3 deletions(-)
>
> diff --git a/monitor/misc.c b/monitor/misc.c
> index 3baa15f3bf..6680734ea1 100644
> --- a/monitor/misc.c
> +++ b/monitor/misc.c
> @@ -106,9 +106,6 @@ struct MonFdset {
>      QLIST_ENTRY(MonFdset) next;
>  };
>
> -/* QMP checker flags */
> -#define QMP_ACCEPT_UNKNOWNS 1
> -
>  /* Protects mon_fdsets */
>  static QemuMutex mon_fdsets_lock;
>  static QLIST_HEAD(, MonFdset) mon_fdsets;
> --
> 2.24.0
>
>
Philippe Mathieu-Daudé Nov. 19, 2019, 1:40 p.m. UTC | #2
On 11/19/19 12:07 PM, Yury Kotov wrote:
> Remove the definition of QMP_ACCEPT_UNKNOWNS as it is unused since
> refactoring 5c678ee8d940
> 
> Signed-off-by: Yury Kotov <yury-kotov@yandex-team.ru>
> ---
>   monitor/misc.c | 3 ---
>   1 file changed, 3 deletions(-)
> 
> diff --git a/monitor/misc.c b/monitor/misc.c
> index 3baa15f3bf..6680734ea1 100644
> --- a/monitor/misc.c
> +++ b/monitor/misc.c
> @@ -106,9 +106,6 @@ struct MonFdset {
>       QLIST_ENTRY(MonFdset) next;
>   };
>   
> -/* QMP checker flags */
> -#define QMP_ACCEPT_UNKNOWNS 1
> -
>   /* Protects mon_fdsets */
>   static QemuMutex mon_fdsets_lock;
>   static QLIST_HEAD(, MonFdset) mon_fdsets;
> 

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Laurent Vivier Dec. 18, 2019, 11:20 a.m. UTC | #3
Le 19/11/2019 à 12:07, Yury Kotov a écrit :
> Remove the definition of QMP_ACCEPT_UNKNOWNS as it is unused since
> refactoring 5c678ee8d940
> 
> Signed-off-by: Yury Kotov <yury-kotov@yandex-team.ru>
> ---
>  monitor/misc.c | 3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/monitor/misc.c b/monitor/misc.c
> index 3baa15f3bf..6680734ea1 100644
> --- a/monitor/misc.c
> +++ b/monitor/misc.c
> @@ -106,9 +106,6 @@ struct MonFdset {
>      QLIST_ENTRY(MonFdset) next;
>  };
>  
> -/* QMP checker flags */
> -#define QMP_ACCEPT_UNKNOWNS 1
> -
>  /* Protects mon_fdsets */
>  static QemuMutex mon_fdsets_lock;
>  static QLIST_HEAD(, MonFdset) mon_fdsets;
> 

Applied to my trivial-patches branch.

Thanks,
Laurent
diff mbox series

Patch

diff --git a/monitor/misc.c b/monitor/misc.c
index 3baa15f3bf..6680734ea1 100644
--- a/monitor/misc.c
+++ b/monitor/misc.c
@@ -106,9 +106,6 @@  struct MonFdset {
     QLIST_ENTRY(MonFdset) next;
 };
 
-/* QMP checker flags */
-#define QMP_ACCEPT_UNKNOWNS 1
-
 /* Protects mon_fdsets */
 static QemuMutex mon_fdsets_lock;
 static QLIST_HEAD(, MonFdset) mon_fdsets;