]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] kill a dead function in lockd
authorAndrew Morton <akpm@osdl.org>
Sat, 6 Mar 2004 16:49:42 +0000 (08:49 -0800)
committerJaroslav Kysela <perex@suse.cz>
Sat, 6 Mar 2004 16:49:42 +0000 (08:49 -0800)
From: Christoph Hellwig <hch@lst.de>

sleep_on hurts my eyes and this offender is compltely unused, so..

fs/lockd/clntproc.c

index c4c4e05951632bcf54779caebb9eb11323536197..a5c032de30cd2d70c88fa07db21c5bcc1b8678f6 100644 (file)
@@ -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
  */