aboutsummaryrefslogtreecommitdiff
path: root/sys/ofed
diff options
context:
space:
mode:
authorHans Petter Selasky <hselasky@FreeBSD.org>2018-03-19 13:51:33 +0000
committerHans Petter Selasky <hselasky@FreeBSD.org>2018-03-19 13:51:33 +0000
commit5cd5781c75fbb5a4294914841752b1fffde2dbd4 (patch)
treee7089fca7893114a9020ded0c808dd4a7862d5ac /sys/ofed
parentb43b604b3069f2a485acc454a80446ea48f4a0f0 (diff)
downloadsrc-5cd5781c75fbb5a4294914841752b1fffde2dbd4.tar.gz
src-5cd5781c75fbb5a4294914841752b1fffde2dbd4.zip
Remove redundant integer cast in ibcore. The "ref_count" field already
has integer type. MFC after: 1 week Sponsored by: Mellanox Technologies
Notes
Notes: svn path=/head/; revision=331204
Diffstat (limited to 'sys/ofed')
-rw-r--r--sys/ofed/drivers/infiniband/core/ib_fmr_pool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ofed/drivers/infiniband/core/ib_fmr_pool.c b/sys/ofed/drivers/infiniband/core/ib_fmr_pool.c
index b374ce605343..7389b7bd2df5 100644
--- a/sys/ofed/drivers/infiniband/core/ib_fmr_pool.c
+++ b/sys/ofed/drivers/infiniband/core/ib_fmr_pool.c
@@ -155,7 +155,7 @@ static void ib_fmr_batch_release(struct ib_fmr_pool *pool)
#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
}