diff --git a/lustre/quota/quota_context.c b/lustre/quota/quota_context.c
index de7a94a84b89e4893bfaef16831bb353a64a6397..18ae0627de11814d24a027877a5b96554ad37c0e 100644
--- a/lustre/quota/quota_context.c
+++ b/lustre/quota/quota_context.c
@@ -728,10 +728,6 @@ struct dqacq_async_args {
         struct lustre_qunit *aa_qunit;
 };
 
-#define QUOTA_NOSENT(rc)                                                \
-        (rc == -EIO || rc == -EINTR || rc == -ENOTCONN ||               \
-         rc == -ETIMEDOUT || rc == -EWOULDBLOCK)
-
 static int dqacq_interpret(struct ptlrpc_request *req, void *data, int rc)
 {
         struct dqacq_async_args *aa = (struct dqacq_async_args *)data;
@@ -756,7 +752,7 @@ static int dqacq_interpret(struct ptlrpc_request *req, void *data, int rc)
          * this situation we should get qdata from request instead of
          * reply */
         rc1 = quota_get_qdata(req, qdata,
-                              QUOTA_NOSENT(rc) ? QUOTA_REQUEST : QUOTA_REPLY,
+                              (rc != 0) ? QUOTA_REQUEST : QUOTA_REPLY,
                               QUOTA_IMPORT);
         if (rc1 < 0) {
                 DEBUG_REQ(D_ERROR, req,