Commit 03970c32 authored by Andrew Morton's avatar Andrew Morton Committed by Jaroslav Kysela

[PATCH] kill a dead function in lockd

From: Christoph Hellwig <hch@lst.de>

sleep_on hurts my eyes and this offender is compltely unused, so..
parent 61a318bf
......@@ -194,19 +194,6 @@ nlmclnt_proc(struct inode *inode, int cmd, struct file_lock *fl)
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
*/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment