aboutsummaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
authorAkihiko Odaki <akihiko.odaki@gmail.com>2021-07-14 14:56:46 +0900
committerGerd Hoffmann <kraxel@redhat.com>2021-07-26 10:24:49 +0200
commit074c0653c25bbd2f3978699099051d2343f34c57 (patch)
treef164c3f4fd7a8325f7038c3ec5ed93dbbb8264ce /ui
parent9a6c69d389c0492a57c439dc3babbd0f9da2555e (diff)
ui/egl-headless: Remove a check for CONFIG_OPENGL
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>
Diffstat (limited to 'ui')
-rw-r--r--ui/egl-headless.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ui/egl-headless.c b/ui/egl-headless.c
index 75404e0e87..a26a2520c4 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