[PATCH] fmr pool: remove unnecessary pointer dereference
[linux-2.6.git] / drivers / infiniband / ulp / srp / ib_srp.c
index 619118080bcb64fa7b350e89dfff03689adc7d0d..8f472e7113b41afcd4b35f35a0ea7ae0f55d93fe 100644 (file)
@@ -615,7 +615,7 @@ static int srp_map_fmr(struct srp_device *dev, struct scatterlist *scat,
                                (sg_dma_address(&scat[i]) & dev->fmr_page_mask) + j;
 
        req->fmr = ib_fmr_pool_map_phys(dev->fmr_pool,
-                                       dma_pages, page_cnt, &io_addr);
+                                       dma_pages, page_cnt, io_addr);
        if (IS_ERR(req->fmr)) {
                ret = PTR_ERR(req->fmr);
                req->fmr = NULL;