summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/infiniband/hw
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/infiniband/hw')
-rw-r--r--kernel/drivers/infiniband/hw/ocrdma/ocrdma_verbs.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/drivers/infiniband/hw/ocrdma/ocrdma_verbs.c b/kernel/drivers/infiniband/hw/ocrdma/ocrdma_verbs.c
index 9dcb66077..219f2122f 100644
--- a/kernel/drivers/infiniband/hw/ocrdma/ocrdma_verbs.c
+++ b/kernel/drivers/infiniband/hw/ocrdma/ocrdma_verbs.c
@@ -679,7 +679,6 @@ err:
ocrdma_release_ucontext_pd(uctx);
} else {
status = _ocrdma_dealloc_pd(dev, pd);
- kfree(pd);
}
exit:
return ERR_PTR(status);