]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
m68knommu: remove sg_address()
authorJens Axboe <jens.axboe@oracle.com>
Tue, 23 Oct 2007 10:41:57 +0000 (12:41 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 23 Oct 2007 10:42:47 +0000 (12:42 +0200)
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>
include/asm-m68knommu/scatterlist.h

index 10942840e88fcb030a3f3216930b6aa5c8b3d6c9..afc4788b0d2c2f2a9c629c3836ab5d6b0c88e7e8 100644 (file)
@@ -14,7 +14,6 @@ struct scatterlist {
        unsigned int    length;
 };
 
-#define sg_address(sg)         (page_address((sg)->page) + (sg)->offset)
 #define sg_dma_address(sg)      ((sg)->dma_address)
 #define sg_dma_len(sg)          ((sg)->length)