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