From: Christoph Hellwig Date: Fri, 9 Feb 2007 20:06:49 +0000 (+0000) Subject: SUNRPC: remove dead variable 'rpciod_running' X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=9c9cc93ad2a5d9972672e03685af20e8cea1e5a4;p=openwrt%2Fstaging%2Fblogic.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 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;