From: Christoph Hellwig Date: Fri, 9 Feb 2007 20:06:49 +0000 (+0000) Subject: SUNRPC: remove dead variable 'rpciod_running' X-Git-Tag: v3.12-rc1~29445^2~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9c9cc93ad2a5d9972672e03685af20e8cea1e5a4;p=kernel%2Fkernel-generic.git 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 Signed-off-by: Trond Myklebust --- diff --git a/net/sunrpc/sched.c b/net/sunrpc/sched.c index b011eb6..944d753 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;