Date: Wed, 5 Dec 2018 13:18:51 +0000 (UTC) From: Slava Shwartsman <slavash@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r341522 - head/sys/ofed/drivers/infiniband/core Message-ID: <201812051318.wB5DIpc6064268@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: slavash Date: Wed Dec 5 13:18:50 2018 New Revision: 341522 URL: https://svnweb.freebsd.org/changeset/base/341522 Log: ibcore: Discard unused error codes. Submitted by: hselasky@ Approved by: hselasky (mentor) MFC after: 1 week Sponsored by: Mellanox Technologies Modified: head/sys/ofed/drivers/infiniband/core/ib_iwcm.c Modified: head/sys/ofed/drivers/infiniband/core/ib_iwcm.c ============================================================================== --- head/sys/ofed/drivers/infiniband/core/ib_iwcm.c Wed Dec 5 13:18:20 2018 (r341521) +++ head/sys/ofed/drivers/infiniband/core/ib_iwcm.c Wed Dec 5 13:18:50 2018 (r341522) @@ -308,9 +308,9 @@ int iw_cm_disconnect(struct iw_cm_id *cm_id, int abrup 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812051318.wB5DIpc6064268>