aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-blackfin
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2007-10-23 06:42:44 -0400
committerJens Axboe <jens.axboe@oracle.com>2007-10-23 06:42:44 -0400
commit26da10784866974d3e87ba998c66458c305777ca (patch)
treee0e9cf3f1ad7b80a34ac7703c55d9da8ec191c8f /include/asm-blackfin
parentdee9ba828fb5e72bef17450168774fb360dce983 (diff)
blackfin: remove sg_address()
I would have replaced it with sg_virt(), but it doesn't appear to be used at all. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'include/asm-blackfin')
-rw-r--r--include/asm-blackfin/scatterlist.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/asm-blackfin/scatterlist.h b/include/asm-blackfin/scatterlist.h
index 32128d53469b..04f448711cd0 100644
--- a/include/asm-blackfin/scatterlist.h
+++ b/include/asm-blackfin/scatterlist.h
@@ -20,7 +20,6 @@ struct scatterlist {
20 * returns, or alternatively stop on the first sg_dma_len(sg) which 20 * returns, or alternatively stop on the first sg_dma_len(sg) which
21 * is 0. 21 * is 0.
22 */ 22 */
23#define sg_address(sg) (page_address((sg)->page) + (sg)->offset)
24#define sg_dma_address(sg) ((sg)->dma_address) 23#define sg_dma_address(sg) ((sg)->dma_address)
25#define sg_dma_len(sg) ((sg)->length) 24#define sg_dma_len(sg) ((sg)->length)
26 25