glsl: No need to lock in _mesa_glsl_release_types
authorErik Faye-Lund <kusmabite@gmail.com>
Sun, 28 Jun 2015 12:51:07 +0000 (14:51 +0200)
committerMatt Turner <mattst88@gmail.com>
Mon, 29 Jun 2015 16:06:40 +0000 (09:06 -0700)
commitde3e323be1bdc40a2a7d724d0f3db7a81a93bbbb
treea1611ce0309948d4e1edb1a24c42741b2cd9d2c2
parent195ab79ddecbdbf1f1714c233df278bff46c13e8
glsl: No need to lock in _mesa_glsl_release_types

This function only gets called while mesa is unloading, so there's
no potential of racing or multiple calls at the same time. So let's
just get rid of the locking.

Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/glsl/glsl_types.cpp