core: wcore_config_{init,teardown} rework
commitb502125750eb20fcd8a51efe6b22f8774e49173c
authorEmil Velikov <emil.l.velikov@gmail.com>
Fri, 29 Sep 2023 14:24:20 +0000 (29 15:24 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 29 Sep 2023 15:01:59 +0000 (29 16:01 +0100)
tree6a1c0d915498b9f3698d5086334159d0afb3058e
parent9dc83e7afe5a741ee9719ed9378fa32255374d51
core: wcore_config_{init,teardown} rework

Drop the return type of the former - it always returns true, drop the
irrelevant asserts and remove the dummy teardown function.

This allows us to cleanup the call paths and error handling across the
tree.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
src/waffle/cgl/cgl_config.m
src/waffle/core/wcore_config.h
src/waffle/egl/wegl_config.c
src/waffle/glx/glx_config.c
src/waffle/wgl/wgl_config.c