From: Jens Axboe Date: Tue, 23 Oct 2007 10:42:44 +0000 (+0200) Subject: blackfin: remove sg_address() X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=26da10784866974d3e87ba998c66458c305777ca;p=openwrt%2Fstaging%2Fblogic.git 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 --- 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 { * returns, or alternatively stop on the first sg_dma_len(sg) which * is 0. */ -#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)