patch-2.4.21 linux-2.4.21/net/sunrpc/sched.c

Next file: linux-2.4.21/net/sunrpc/stats.c
Previous file: linux-2.4.21/net/sunrpc/clnt.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.20/net/sunrpc/sched.c linux-2.4.21/net/sunrpc/sched.c
@@ -169,10 +169,8 @@
 static inline void
 rpc_delete_timer(struct rpc_task *task)
 {
-	if (timer_pending(&task->tk_timer)) {
-		dprintk("RPC: %4d deleting timer\n", task->tk_pid);
-		del_timer_sync(&task->tk_timer);
-	}
+	dprintk("RPC: %4d deleting timer\n", task->tk_pid);
+	del_timer_sync(&task->tk_timer);
 }
 
 /*

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)