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

Hans Petter Selasky hselasky at FreeBSD.org
Mon Mar 19 13:51:34 UTC 2018


Author: hselasky
Date: Mon Mar 19 13:51:33 2018
New Revision: 331204
URL: https://svnweb.freebsd.org/changeset/base/331204

Log:
  Remove redundant integer cast in ibcore. The "ref_count" field already
  has integer type.
  
  MFC after:	1 week
  Sponsored by:	Mellanox Technologies

Modified:
  head/sys/ofed/drivers/infiniband/core/ib_fmr_pool.c

Modified: head/sys/ofed/drivers/infiniband/core/ib_fmr_pool.c
==============================================================================
--- head/sys/ofed/drivers/infiniband/core/ib_fmr_pool.c	Mon Mar 19 10:50:27 2018	(r331203)
+++ head/sys/ofed/drivers/infiniband/core/ib_fmr_pool.c	Mon Mar 19 13:51:33 2018	(r331204)
@@ -155,7 +155,7 @@ static void ib_fmr_batch_release(struct ib_fmr_pool *p
 #ifdef DEBUG
 		if (fmr->ref_count !=0) {
 			pr_warn(PFX "Unmapping FMR %p with ref count %d\n",
-				fmr, (int)fmr->ref_count);
+				fmr, fmr->ref_count);
 		}
 #endif
 	}


More information about the svn-src-head mailing list