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>
This commit is contained in:
Akihiko Odaki 2021-07-14 14:56:46 +09:00 committed by Gerd Hoffmann
parent 9a6c69d389
commit 074c0653c2

View File

@ -214,6 +214,4 @@ static void register_egl(void)
type_init(register_egl);
#ifdef CONFIG_OPENGL
module_dep("ui-opengl");
#endif