From 03970c32a066d41b9fbe651edf501715b6187b9c Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Sat, 6 Mar 2004 08:49:42 -0800 Subject: [PATCH] [PATCH] kill a dead function in lockd From: Christoph Hellwig sleep_on hurts my eyes and this offender is compltely unused, so.. --- fs/lockd/clntproc.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/fs/lockd/clntproc.c b/fs/lockd/clntproc.c index c4c4e0595163..a5c032de30cd 100644 --- a/fs/lockd/clntproc.c +++ b/fs/lockd/clntproc.c @@ -194,19 +194,6 @@ done: return status; } -/* - * Wait while server is in grace period - */ -static inline int -nlmclnt_grace_wait(struct nlm_host *host) -{ - if (!host->h_reclaiming) - interruptible_sleep_on_timeout(&host->h_gracewait, 10*HZ); - else - interruptible_sleep_on(&host->h_gracewait); - return signalled()? -ERESTARTSYS : 0; -} - /* * Allocate an NLM RPC call struct */ -- 2.39.5