aboutsummaryrefslogtreecommitdiff
path: root/sys/ofed
diff options
context:
space:
mode:
authorSlava Shwartsman <slavash@FreeBSD.org>2018-12-05 13:18:50 +0000
committerSlava Shwartsman <slavash@FreeBSD.org>2018-12-05 13:18:50 +0000
commit4b9b52a1bd135c17149fb598b246dec1955fa250 (patch)
treecb20b33fc2af05dceaf6c62d36f0bbb34080ccf0 /sys/ofed
parentf628150b6c03d57c5cd129aa995f26c597f95f7c (diff)
downloadsrc-4b9b52a1bd135c17149fb598b246dec1955fa250.tar.gz
src-4b9b52a1bd135c17149fb598b246dec1955fa250.zip
ibcore: Discard unused error codes.
Submitted by: hselasky@ Approved by: hselasky (mentor) MFC after: 1 week Sponsored by: Mellanox Technologies
Notes
Notes: svn path=/head/; revision=341522
Diffstat (limited to 'sys/ofed')
-rw-r--r--sys/ofed/drivers/infiniband/core/ib_iwcm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ofed/drivers/infiniband/core/ib_iwcm.c b/sys/ofed/drivers/infiniband/core/ib_iwcm.c
index 776a31a05327..a684eb3b566b 100644
--- a/sys/ofed/drivers/infiniband/core/ib_iwcm.c
+++ b/sys/ofed/drivers/infiniband/core/ib_iwcm.c
@@ -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