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
-  Lines: 13
-  Date:
2003-06-13 07:51:39.000000000 -0700
-  Orig file: 
linux-2.4.20/net/sunrpc/sched.c
-  Orig date: 
2002-11-28 15:53:16.000000000 -0800
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)