]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/staging/lustre/lustre/ldlm/ldlm_lib.c
staging: lustre: cleanup not needed else clauses
[karo-tx-linux.git] / drivers / staging / lustre / lustre / ldlm / ldlm_lib.c
index 0a0b435f11fcfad11c7dceacdf5f64a2d694ec2c..764f98684d74ef294b30942de737a5dbe3f2c420 100644 (file)
@@ -667,10 +667,9 @@ int target_send_reply_msg(struct ptlrpc_request *req, int rc, int fail_id)
                DEBUG_REQ(D_NET, req, "processing error (%d)", rc);
                req->rq_status = rc;
                return ptlrpc_send_error(req, 1);
-       } else {
-               DEBUG_REQ(D_NET, req, "sending reply");
        }
 
+       DEBUG_REQ(D_NET, req, "sending reply");
        return ptlrpc_send_reply(req, PTLRPC_REPLY_MAYBE_DIFFICULT);
 }