IB/core: Make ib_dealloc_pd return void
[cascardo/linux.git] / net / sunrpc / xprtrdma / verbs.c
index 891c4ed..afd5043 100644 (file)
@@ -624,7 +624,7 @@ rpcrdma_ia_close(struct rpcrdma_ia *ia)
 
        /* If the pd is still busy, xprtrdma missed freeing a resource */
        if (ia->ri_pd && !IS_ERR(ia->ri_pd))
-               WARN_ON(ib_dealloc_pd(ia->ri_pd));
+               ib_dealloc_pd(ia->ri_pd);
 }
 
 /*