[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] hw/input/virtio-input-hid.c: Don't undef CONFIG_CURSES
From: |
Thomas Huth |
Subject: |
Re: [PATCH] hw/input/virtio-input-hid.c: Don't undef CONFIG_CURSES |
Date: |
Fri, 24 Jul 2020 06:27:41 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 |
On 23/07/2020 21.24, Peter Maydell wrote:
> virtio-input-hid.c undefines CONFIG_CURSES before including
> ui/console.h. However since commits e2f82e924d057935 and b0766612d16da18
> that header does not have behaviour dependent on CONFIG_CURSES.
> Remove the now-unneeded undef.
>
> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
> ---
> NB: tested with 'make check' only.
>
> hw/input/virtio-input-hid.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/hw/input/virtio-input-hid.c b/hw/input/virtio-input-hid.c
> index 09cf2609854..a7a244a95db 100644
> --- a/hw/input/virtio-input-hid.c
> +++ b/hw/input/virtio-input-hid.c
> @@ -12,7 +12,6 @@
> #include "hw/qdev-properties.h"
> #include "hw/virtio/virtio-input.h"
>
> -#undef CONFIG_CURSES
> #include "ui/console.h"
>
> #include "standard-headers/linux/input.h"
>
Reviewed-by: Thomas Huth <thuth@redhat.com>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [PATCH] hw/input/virtio-input-hid.c: Don't undef CONFIG_CURSES,
Thomas Huth <=