[PATCH] kill a dead function in lockd

From: Christoph Hellwig
Date: Fri Feb 27 2004 - 16:03:19 EST


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


--- 1.8/fs/lockd/clntproc.c Fri Feb 7 21:25:20 2003
+++ edited/fs/lockd/clntproc.c Fri Feb 27 22:35:15 2004
@@ -195,19 +195,6 @@
}

/*
- * 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
*/
struct nlm_rqst *
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/