diff options
author | Alexander von Gluck IV <kallisti5@unixzen.com> | 2023-11-21 17:51:27 +0000 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2023-11-22 19:38:59 +0000 |
commit | bb0ad6f0f5beb3764d084617361ef3a04f337567 (patch) | |
tree | df745b7220e7fd659111c5453ade659bc86af6d2 | |
parent | c9e33f354569ee042085534fa14e2e40edd8d370 (diff) |
egl/haiku: Remove some dead cleanup code
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26322>
-rw-r--r-- | src/egl/drivers/haiku/egl_haiku.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/egl/drivers/haiku/egl_haiku.cpp b/src/egl/drivers/haiku/egl_haiku.cpp index 5b3e6bb274f..fcdeb32311f 100644 --- a/src/egl/drivers/haiku/egl_haiku.cpp +++ b/src/egl/drivers/haiku/egl_haiku.cpp @@ -319,7 +319,6 @@ static EGLBoolean haiku_initialize_impl(_EGLDisplay *disp, void *platformDisplay) { struct haiku_egl_display *hgl_dpy; - const char *err; hgl_dpy = (struct haiku_egl_display *)calloc(1, sizeof(struct haiku_egl_display)); @@ -362,10 +361,6 @@ haiku_initialize_impl(_EGLDisplay *disp, void *platformDisplay) haiku_add_configs_for_visuals(disp); return EGL_TRUE; - -cleanup: - haiku_display_destroy(disp); - return _eglError(EGL_NOT_INITIALIZED, err); } static EGLBoolean |