diff --git a/src/python/grpcio/grpc/_cython/_cygrpc/credentials.pyx.pxi b/src/python/grpcio/grpc/_cython/_cygrpc/credentials.pyx.pxi index 661f9eaef46..0f9f3f629a0 100644 --- a/src/python/grpcio/grpc/_cython/_cygrpc/credentials.pyx.pxi +++ b/src/python/grpcio/grpc/_cython/_cygrpc/credentials.pyx.pxi @@ -66,13 +66,6 @@ cdef int _get_metadata(void *state, return 0 # Asynchronous return -cdef extern from "" namespace "std" nogil: - cdef cppclass mutex: - mutex() - void lock() - void unlock() - - # Protects access to GIL from _destroy() and to g_shutting_down. cdef mutex g_shutdown_mu cdef int g_shutting_down = 0