summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/state_trackers/egl/common/egl_g3d_st.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gallium/state_trackers/egl/common/egl_g3d_st.c b/src/gallium/state_trackers/egl/common/egl_g3d_st.c
index 47ecc503eb7..97445478684 100644
--- a/src/gallium/state_trackers/egl/common/egl_g3d_st.c
+++ b/src/gallium/state_trackers/egl/common/egl_g3d_st.c
@@ -71,9 +71,6 @@ egl_g3d_create_st_api(enum st_api_type api)
return NULL;
}
- if (!proc_name)
- return NULL;
-
lib = util_dl_open(NULL);
if (lib) {
proc = util_dl_get_proc_address(lib, proc_name);