summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/egl/common/egl_g3d_st.c
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2010-04-26 00:19:14 -0700
committerVinson Lee <vlee@vmware.com>2010-04-26 00:19:14 -0700
commit2d1b95477fbf91d90c65f8907dce0556b06db6f0 (patch)
tree71375b942c1cd902f8b9f655584845e60282ed85 /src/gallium/state_trackers/egl/common/egl_g3d_st.c
parent310ec9a17cbcecfd07be04e286b553ede1e72bd0 (diff)
et/egl: Remove dead code.
proc_name cannot be NULL after the switch statement. proc_name is assigned a value or the function has already returned.
Diffstat (limited to 'src/gallium/state_trackers/egl/common/egl_g3d_st.c')
-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 47ecc503eb..9744547868 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);