Message ID | 20210714055646.85952-1-akihiko.odaki@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | ui/egl-headless: Remove a check for CONFIG_OPENGL | expand |
On Wed, Jul 14, 2021 at 9:57 AM Akihiko Odaki <akihiko.odaki@gmail.com> wrote: > 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> --- > ui/egl-headless.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/ui/egl-headless.c b/ui/egl-headless.c > index 75404e0e870..a26a2520c49 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.30.1 (Apple Git-130) > > >
diff --git a/ui/egl-headless.c b/ui/egl-headless.c index 75404e0e870..a26a2520c49 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
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> --- ui/egl-headless.c | 2 -- 1 file changed, 2 deletions(-)