mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2025-12-20 04:40:07 +01:00
frontend: avoid unecessary call to get_section()
We already get the core section a few lines above, and no other call get_section() call are made in between. Signed-off-by: Leandro Ribeiro <leandro.ribeiro@collabora.com>
This commit is contained in:
parent
e77ca25a80
commit
996ec58ce3
1 changed files with 0 additions and 1 deletions
|
|
@ -3472,7 +3472,6 @@ load_drm_backend(struct weston_compositor *c, int *argc, char **argv,
|
|||
config.renderer = renderer;
|
||||
}
|
||||
|
||||
section = weston_config_get_section(wc, "core", NULL, NULL);
|
||||
weston_config_section_get_string(section,
|
||||
"gbm-format", &config.gbm_format,
|
||||
NULL);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue