From: Jens Axboe Date: Tue, 23 Oct 2007 10:42:44 +0000 (+0200) Subject: blackfin: remove sg_address() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=26da10784866974d3e87ba998c66458c305777ca;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.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)