diff options
Diffstat (limited to 'mysys')
-rw-r--r-- | mysys/thr_lock.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/mysys/thr_lock.c b/mysys/thr_lock.c index e8c4ed9c614..a77db04acef 100644 --- a/mysys/thr_lock.c +++ b/mysys/thr_lock.c @@ -498,18 +498,6 @@ has_old_lock(THR_LOCK_DATA *data, THR_LOCK_INFO *owner) return 0; } -static inline my_bool have_specific_lock(THR_LOCK_DATA *data, - enum thr_lock_type type) -{ - for ( ; data ; data=data->next) - { - if (data->type == type) - return 1; - } - return 0; -} - - static void wake_up_waiters(THR_LOCK *lock); |