diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2019-04-03 19:46:34 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2019-04-03 19:46:34 +0300 |
commit | 1f3bcff1f2d7ba50fc8e8cb2b608b8eaaec3d583 (patch) | |
tree | ad3703dfd950f929afedb8b2b4f161fb8afcf0cb /mysys | |
parent | fa147843018ba14136c0a65a2cfcf53af2938958 (diff) | |
download | mariadb-git-1f3bcff1f2d7ba50fc8e8cb2b608b8eaaec3d583.tar.gz |
Remove unused declarations
Diffstat (limited to 'mysys')
-rw-r--r-- | mysys/thr_lock.c | 11 |
1 files changed, 0 insertions, 11 deletions
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); |