ibcore: Discard unused error codes.

Submitted by:   hselasky@
Approved by:    hselasky (mentor)
MFC after:      1 week
Sponsored by:   Mellanox Technologies
This commit is contained in:
slavash 2018-12-05 13:18:50 +00:00
parent b5078a106f
commit e62ebc64d8

View File

@ -308,9 +308,9 @@ int iw_cm_disconnect(struct iw_cm_id *cm_id, int abrupt)
if (qp) {
if (abrupt)
ret = iwcm_modify_qp_err(qp);
(void) iwcm_modify_qp_err(qp);
else
ret = iwcm_modify_qp_sqd(qp);
(void) iwcm_modify_qp_sqd(qp);
/*
* If both sides are disconnecting the QP could