static
 void rpc_task_set_client(struct rpc_task *task, struct rpc_clnt *clnt)
 {
-
-       if (clnt != NULL) {
-               rpc_task_set_transport(task, clnt);
-               task->tk_client = clnt;
-               refcount_inc(&clnt->cl_count);
-               if (clnt->cl_softrtry)
-                       task->tk_flags |= RPC_TASK_SOFT;
-               if (clnt->cl_softerr)
-                       task->tk_flags |= RPC_TASK_TIMEOUT;
-               if (clnt->cl_noretranstimeo)
-                       task->tk_flags |= RPC_TASK_NO_RETRANS_TIMEOUT;
-               if (atomic_read(&clnt->cl_swapper))
-                       task->tk_flags |= RPC_TASK_SWAPPER;
-               /* Add to the client's list of all tasks */
-               spin_lock(&clnt->cl_lock);
-               list_add_tail(&task->tk_task, &clnt->cl_tasks);
-               spin_unlock(&clnt->cl_lock);
-       }
+       rpc_task_set_transport(task, clnt);
+       task->tk_client = clnt;
+       refcount_inc(&clnt->cl_count);
+       if (clnt->cl_softrtry)
+               task->tk_flags |= RPC_TASK_SOFT;
+       if (clnt->cl_softerr)
+               task->tk_flags |= RPC_TASK_TIMEOUT;
+       if (clnt->cl_noretranstimeo)
+               task->tk_flags |= RPC_TASK_NO_RETRANS_TIMEOUT;
+       if (atomic_read(&clnt->cl_swapper))
+               task->tk_flags |= RPC_TASK_SWAPPER;
+       /* Add to the client's list of all tasks */
+       spin_lock(&clnt->cl_lock);
+       list_add_tail(&task->tk_task, &clnt->cl_tasks);
+       spin_unlock(&clnt->cl_lock);
 }
 
 static void