diff options
-rw-r--r-- | drivers/infiniband/sw/rxe/rxe_resp.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/infiniband/sw/rxe/rxe_resp.c b/drivers/infiniband/sw/rxe/rxe_resp.c index ec11a9c25f23..23039768f541 100644 --- a/drivers/infiniband/sw/rxe/rxe_resp.c +++ b/drivers/infiniband/sw/rxe/rxe_resp.c | |||
@@ -481,8 +481,6 @@ static enum resp_states check_rkey(struct rxe_qp *qp, | |||
481 | state = RESPST_ERR_LENGTH; | 481 | state = RESPST_ERR_LENGTH; |
482 | goto err; | 482 | goto err; |
483 | } | 483 | } |
484 | |||
485 | qp->resp.resid = mtu; | ||
486 | } else { | 484 | } else { |
487 | if (pktlen != resid) { | 485 | if (pktlen != resid) { |
488 | state = RESPST_ERR_LENGTH; | 486 | state = RESPST_ERR_LENGTH; |