Explorar o código

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>
Christoph Hellwig %!s(int64=18) %!d(string=hai) anos
pai
achega
9c9cc93ad2
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  1. 0 2
      net/sunrpc/sched.c

+ 0 - 2
net/sunrpc/sched.c

@@ -989,8 +989,6 @@ void rpc_killall_tasks(struct rpc_clnt *clnt)
 	spin_unlock(&rpc_sched_lock);
 	spin_unlock(&rpc_sched_lock);
 }
 }
 
 
-static DECLARE_MUTEX_LOCKED(rpciod_running);
-
 static void rpciod_killall(void)
 static void rpciod_killall(void)
 {
 {
 	unsigned long flags;
 	unsigned long flags;