projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d09d276
)
m68knommu: remove sg_address()
author
Jens Axboe
<jens.axboe@oracle.com>
Tue, 23 Oct 2007 10:41:57 +0000
(12:41 +0200)
committer
Jens 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
patch
|
blob
|
blame
|
history
diff --git
a/include/asm-m68knommu/scatterlist.h
b/include/asm-m68knommu/scatterlist.h
index 10942840e88fcb030a3f3216930b6aa5c8b3d6c9..afc4788b0d2c2f2a9c629c3836ab5d6b0c88e7e8 100644
(file)
--- 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)