qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Gerd Hoffmann <kraxel@redhat.com>
To: qemu-devel@nongnu.org
Cc: "Peter Maydell" <peter.maydell@linaro.org>,
	"Gerd Hoffmann" <kraxel@redhat.com>,
	"Akihiko Odaki" <akihiko.odaki@gmail.com>,
	"Marc-André Lureau" <marcandre.lureau@redhat.com>
Subject: [PULL 3/6] ui/egl-headless: Remove a check for CONFIG_OPENGL
Date: Mon, 26 Jul 2021 13:05:41 +0200	[thread overview]
Message-ID: <20210726110544.1934386-4-kraxel@redhat.com> (raw)
In-Reply-To: <20210726110544.1934386-1-kraxel@redhat.com>

From: Akihiko Odaki <akihiko.odaki@gmail.com>

ui/egl-headless is only built when CONFIG_OPENGL is defined because it
depends on CONFIG_OPENGL without condition. Remove a redundant
conditonal in ui/egl-headless.c

Signed-off-by: Akihiko Odaki <akihiko.odaki@gmail.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20210714055646.85952-1-akihiko.odaki@gmail.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
 ui/egl-headless.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/ui/egl-headless.c b/ui/egl-headless.c
index 75404e0e8700..a26a2520c496 100644
--- a/ui/egl-headless.c
+++ b/ui/egl-headless.c
@@ -214,6 +214,4 @@ static void register_egl(void)
 
 type_init(register_egl);
 
-#ifdef CONFIG_OPENGL
 module_dep("ui-opengl");
-#endif
-- 
2.31.1



  parent reply	other threads:[~2021-07-26 11:08 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-26 11:05 [PULL 0/6] Fixes 20210726 patches Gerd Hoffmann
2021-07-26 11:05 ` [PULL 1/6] ui/gtk: Fix relative mouse with multiple monitors Gerd Hoffmann
2021-07-26 11:05 ` [PULL 2/6] ui/spice: Use HAVE_SPICE_GL for OpenGL checks Gerd Hoffmann
2021-07-26 11:05 ` Gerd Hoffmann [this message]
2021-07-26 11:05 ` [PULL 4/6] ui/cocoa: Fix the type of main's argv Gerd Hoffmann
2021-07-26 11:05 ` [PULL 5/6] ui: update keycodemapdb submodule commit Gerd Hoffmann
2021-07-26 11:05 ` [PULL 6/6] ui/gtk: add a keyboard fifo to the VTE consoles Gerd Hoffmann
2021-07-27  7:34 ` [PULL 0/6] Fixes 20210726 patches Peter Maydell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210726110544.1934386-4-kraxel@redhat.com \
    --to=kraxel@redhat.com \
    --cc=akihiko.odaki@gmail.com \
    --cc=marcandre.lureau@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).