cxgb3: simplify iwch_get_dma_wr
authorChristoph Hellwig <hch@lst.de>
Wed, 23 Dec 2015 18:12:49 +0000 (19:12 +0100)
committerDoug Ledford <dledford@redhat.com>
Wed, 23 Dec 2015 19:29:04 +0000 (14:29 -0500)
commit35cb3fc0260ad3d6522771f460c598d6740d2304
tree514de01803bb45ca34b9cf8f10ba1a300e62fe3b
parentfeb7c1e38bccfd18cc06677cb648ed2340788fe8
cxgb3: simplify iwch_get_dma_wr

Fold simplified versions of build_phys_page_list and
iwch_register_phys_mem into iwch_get_dma_wr now that no other callers
are left.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagig@mellanox.com>
Reviewed-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com> [core]
Reviewed-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/cxgb3/iwch_mem.c
drivers/infiniband/hw/cxgb3/iwch_provider.c
drivers/infiniband/hw/cxgb3/iwch_provider.h