Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Dec 2018 10:19:48 +0000 (UTC)
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r341858 - stable/11/sys/ofed/drivers/infiniband/core
Message-ID:  <201812121019.wBCAJmfb008360@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hselasky
Date: Wed Dec 12 10:19:47 2018
New Revision: 341858
URL: https://svnweb.freebsd.org/changeset/base/341858

Log:
  MFC r341522:
  ibcore: Discard unused error codes.
  
  Sponsored by:   Mellanox Technologies

Modified:
  stable/11/sys/ofed/drivers/infiniband/core/ib_iwcm.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/ofed/drivers/infiniband/core/ib_iwcm.c
==============================================================================
--- stable/11/sys/ofed/drivers/infiniband/core/ib_iwcm.c	Wed Dec 12 10:18:51 2018	(r341857)
+++ stable/11/sys/ofed/drivers/infiniband/core/ib_iwcm.c	Wed Dec 12 10:19:47 2018	(r341858)
@@ -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?201812121019.wBCAJmfb008360>