From 1f3bcff1f2d7ba50fc8e8cb2b608b8eaaec3d583 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20M=C3=A4kel=C3=A4?= Date: Wed, 3 Apr 2019 19:46:34 +0300 Subject: Remove unused declarations --- mysys/thr_lock.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'mysys') diff --git a/mysys/thr_lock.c b/mysys/thr_lock.c index 45376f7c5fc..5c3437382a5 100644 --- a/mysys/thr_lock.c +++ b/mysys/thr_lock.c @@ -497,17 +497,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); -- cgit v1.2.1