At a glance, this looks reasonable. Christoph Hellwig wrote: > 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 > > Index: linux-2.6/net/sunrpc/sched.c > =================================================================== > --- linux-2.6.orig/net/sunrpc/sched.c 2007-02-06 15:55:43.000000000 +0100 > +++ linux-2.6/net/sunrpc/sched.c 2007-02-06 15:55:45.000000000 +0100 > @@ -973,8 +973,6 @@ > spin_unlock(&rpc_sched_lock); > } > > -static DECLARE_MUTEX_LOCKED(rpciod_running); > - > static void rpciod_killall(void) > { > unsigned long flags;