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.
This commit is contained in:
Vinson Lee
2010-04-26 00:19:14 -07:00
parent 310ec9a17c
commit 2d1b95477f
@@ -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);