aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/infiniband/hw/ehca/ehca_mrmw.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/infiniband/hw/ehca/ehca_mrmw.c b/drivers/infiniband/hw/ehca/ehca_mrmw.c
index 31a68b9c52d0..53f4cd4fc19a 100644
--- a/drivers/infiniband/hw/ehca/ehca_mrmw.c
+++ b/drivers/infiniband/hw/ehca/ehca_mrmw.c
@@ -933,11 +933,6 @@ int ehca_unmap_fmr(struct list_head *fmr_list)
933 /* check all FMR belong to same SHCA, and check internal flag */ 933 /* check all FMR belong to same SHCA, and check internal flag */
934 list_for_each_entry(ib_fmr, fmr_list, list) { 934 list_for_each_entry(ib_fmr, fmr_list, list) {
935 prev_shca = shca; 935 prev_shca = shca;
936 if (!ib_fmr) {
937 ehca_gen_err("bad fmr=%p in list", ib_fmr);
938 ret = -EINVAL;
939 goto unmap_fmr_exit0;
940 }
941 shca = container_of(ib_fmr->device, struct ehca_shca, 936 shca = container_of(ib_fmr->device, struct ehca_shca,
942 ib_device); 937 ib_device);
943 e_fmr = container_of(ib_fmr, struct ehca_mr, ib.ib_fmr); 938 e_fmr = container_of(ib_fmr, struct ehca_mr, ib.ib_fmr);