From 250e9d2701ca01a4270773bea0e3ef1cfeb319d8 Mon Sep 17 00:00:00 2001 From: Mark Fasheh Date: Tue, 27 Jun 2017 16:29:31 -0500 Subject: [PATCH] scoutfs: remove unused function, can_complete_shutdown Signed-off-by: Mark Fasheh --- kmod/src/lock.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/kmod/src/lock.c b/kmod/src/lock.c index ea915df8..88b1661c 100644 --- a/kmod/src/lock.c +++ b/kmod/src/lock.c @@ -564,16 +564,6 @@ static int init_lock_info(struct super_block *sb) return 0; } -static int can_complete_shutdown(struct held_locks *held) -{ - int ret; - - spin_lock(&held->lock); - ret = !!RB_EMPTY_ROOT(&held->lock_tree); - spin_unlock(&held->lock); - return ret; -} - /* * Cause all lock attempts from our super to fail, waking anyone who is * currently blocked attempting to lock. Now that locks can't block we