mirror of https://gitee.com/openkylin/linux.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 <jens.axboe@oracle.com>
This commit is contained in:
parent
d09d276ebf
commit
75d35c93cf
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue