From: Jens Axboe Date: Tue, 23 Oct 2007 10:41:57 +0000 (+0200) Subject: m68knommu: remove sg_address() X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=75d35c93cf8b938f28f06ceb8ffa2606d6e57d3b;p=openwrt%2Fstaging%2Fblogic.git m68knommu: 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 --- diff --git a/include/asm-m68knommu/scatterlist.h b/include/asm-m68knommu/scatterlist.h index 10942840e88f..afc4788b0d2c 100644 --- a/include/asm-m68knommu/scatterlist.h +++ b/include/asm-m68knommu/scatterlist.h @@ -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)