From 639baee61bdfefe124414db6b12d40061a086e5b Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Mon, 24 Jun 2013 20:56:55 +0200 Subject: cleanup: remove LF_REQUIRE_PINS, use compile_time_assert() instead of reimplementing it --- mysys/waiting_threads.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'mysys/waiting_threads.c') diff --git a/mysys/waiting_threads.c b/mysys/waiting_threads.c index caeba9cfa12..56125f8951e 100644 --- a/mysys/waiting_threads.c +++ b/mysys/waiting_threads.c @@ -604,8 +604,6 @@ static int deadlock_search(struct deadlock_arg *arg, WT_THD *blocker, DBUG_PRINT("wt", ("enter: thd=%s, blocker=%s, depth=%u", arg->thd->name, blocker->name, depth)); - LF_REQUIRE_PINS(1); - arg->last_locked_rc= 0; if (depth > arg->max_depth) @@ -923,8 +921,6 @@ int wt_thd_will_wait_for(WT_THD *thd, WT_THD *blocker, WT_RESOURCE *rc; DBUG_ENTER("wt_thd_will_wait_for"); - LF_REQUIRE_PINS(3); - DBUG_PRINT("wt", ("enter: thd=%s, blocker=%s, resid=%lu", thd->name, blocker->name, (ulong)resid->value)); -- cgit v1.2.1