Skip to content

Commit

Permalink
ui/egl-headless: Remove a check for CONFIG_OPENGL
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
akihikodaki authored and kraxel committed Jul 26, 2021
1 parent 9a6c69d commit 074c065
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ui/egl-headless.c
Expand Up @@ -214,6 +214,4 @@ static void register_egl(void)

type_init(register_egl);

#ifdef CONFIG_OPENGL
module_dep("ui-opengl");
#endif

0 comments on commit 074c065

Please sign in to comment.