aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2007-02-09 20:06:49 +0000
committerTrond Myklebust <Trond.Myklebust@netapp.com>2007-05-14 19:33:45 -0400
commit9c9cc93ad2a5d9972672e03685af20e8cea1e5a4 (patch)
tree612b444767374c863f6dc344e938f46e6eec3472 /net
parentNFS4: Fix incorrect use of sizeof() in fs/nfs/nfs4xdr.c (diff)
downloadlinux-dev-9c9cc93ad2a5d9972672e03685af20e8cea1e5a4.tar.xz
linux-dev-9c9cc93ad2a5d9972672e03685af20e8cea1e5a4.zip
SUNRPC: remove dead variable 'rpciod_running'
rpciod_running is not used at all, but due to the way DECLARE_MUTEX_LOCKED works we don't get a warning for it. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net')
-rw-r--r--net/sunrpc/sched.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/sunrpc/sched.c b/net/sunrpc/sched.c
index b011eb625e49..944d75396fb3 100644
--- a/net/sunrpc/sched.c
+++ b/net/sunrpc/sched.c
@@ -989,8 +989,6 @@ void rpc_killall_tasks(struct rpc_clnt *clnt)
spin_unlock(&rpc_sched_lock);
}
-static DECLARE_MUTEX_LOCKED(rpciod_running);
-
static void rpciod_killall(void)
{
unsigned long flags;