From 780db8e25239e5423cfab50c04c60b79ebc0224b Mon Sep 17 00:00:00 2001
From: kevg <claprix@yandex.ru>
Date: Thu, 24 Nov 2016 17:36:02 +0300
Subject: fix build and some warnings

---
 mysys/thr_lock.c | 12 ------------
 1 file changed, 12 deletions(-)

(limited to 'mysys/thr_lock.c')

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);
 
 
-- 
cgit v1.2.1