Skip to content

Commit

Permalink
SUNRPC: remove dead variable 'rpciod_running'
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Christoph Hellwig authored and Trond Myklebust committed May 14, 2007
1 parent 8ae20ab commit 9c9cc93
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions net/sunrpc/sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9c9cc93

Please sign in to comment.