RDMA/vmw_pvrdma: Free SRQ only once
authorAdit Ranadive <aditr@vmware.com>
Wed, 18 Sep 2019 23:08:00 +0000 (23:08 +0000)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 1 Oct 2019 13:47:58 +0000 (10:47 -0300)
commit18545e8b6871d21aa3386dc42867138da9948a33
tree457ea82b1a94882cde1ee65663541e17d1d7c326
parent54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c
RDMA/vmw_pvrdma: Free SRQ only once

An extra kfree cleanup was missed since these are now deallocated by core.

Link: https://lore.kernel.org/r/1568848066-12449-1-git-send-email-aditr@vmware.com
Cc: <stable@vger.kernel.org>
Fixes: 68e326dea1db ("RDMA: Handle SRQ allocations by IB/core")
Signed-off-by: Adit Ranadive <aditr@vmware.com>
Reviewed-by: Vishnu Dasa <vdasa@vmware.com>
Reviewed-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/vmw_pvrdma/pvrdma_srq.c