svn commit: r341522 - head/sys/ofed/drivers/infiniband/core

Slava Shwartsman slavash at FreeBSD.org
Wed Dec 5 13:18:52 UTC 2018


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


More information about the svn-src-head mailing list