]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
msg/async/rdma: remove assert from ibv_dealloc_pd in ProtectionDomain 15832/head
authorDaniel Bar-On <danielbo@mellanox.com>
Mon, 15 May 2017 10:44:29 +0000 (10:44 +0000)
committerAdir Lev <adirl@mellanox.com>
Thu, 22 Jun 2017 07:11:13 +0000 (10:11 +0300)
destructor

issue: 1044307

Change-Id: I2fe2099c5f4403f14877e0fbe5d4868dd34d4f9b
Signed-off-by: DanielBar-On <danielbo@mellanox.com>
src/msg/async/rdma/Infiniband.cc

index 0597b09eb56938acdf9611a343ed867547f5d1c6..ab6e7e310b5ef0fbecd54387ab4c451db6308b55 100644 (file)
@@ -470,8 +470,7 @@ Infiniband::ProtectionDomain::ProtectionDomain(CephContext *cct, Device *device)
 
 Infiniband::ProtectionDomain::~ProtectionDomain()
 {
-  int rc = ibv_dealloc_pd(pd);
-  assert(rc == 0);
+  ibv_dealloc_pd(pd);
 }