commit | a52c8e2469c30cf7ac453d624aed9c168b23d1af | [log] [tgz] |
---|---|---|
author | Leon Romanovsky <leonro@mellanox.com> | Tue May 28 14:37:28 2019 +0300 |
committer | Doug Ledford <dledford@redhat.com> | Tue Jun 11 16:17:10 2019 -0400 |
tree | 6e2b5b8f8d37a23f0ebe3630bb0fb1202e8d10f5 | |
parent | 147b308e6a63a0572b750b1dc9b8b6fc33997e4b [diff] |
RDMA: Clean destroy CQ in drivers do not return errors Like all other destroy commands, .destroy_cq() call is not supposed to fail. In all flows, the attempt to return earlier caused to memory leaks. This patch converts .destroy_cq() to do not return any errors. Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Acked-by: Gal Pressman <galpress@amazon.com> Acked-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>