OSDN Git Service

IB/qib: Remove ib_sg_dma_address() and ib_sg_dma_len() overloads
authorMike Marciniszyn <mike.marciniszyn@intel.com>
Fri, 28 Mar 2014 17:26:42 +0000 (13:26 -0400)
committerRoland Dreier <roland@purestorage.com>
Tue, 1 Apr 2014 18:16:31 +0000 (11:16 -0700)
commit446bf432a9b084d9f3471eca309cc53fa434ccc7
tree55d470e51d5f5c2852dc0afc97589ad2a5acc447
parentcfbf8d4857c26a8a307fb7cd258074c9dcd8c691
IB/qib: Remove ib_sg_dma_address() and ib_sg_dma_len() overloads

Remove the overload for .dma_len and .dma_address

The removal of these methods is compensated for by code changes to
.map_sg to insure that the vanilla sg_dma_address() and sg_dma_len()
will do the same thing as the equivalent former ib_sg_dma_address()
and ib_sg_dma_len() calls into the drivers.

Suggested-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Tested-by: Vinod Kumar <vinod.kumar@intel.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/qib/qib_dma.c