projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dee9ba8
)
blackfin: remove sg_address()
author
Jens Axboe
<jens.axboe@oracle.com>
Tue, 23 Oct 2007 10:42:44 +0000
(12:42 +0200)
committer
Jens Axboe
<jens.axboe@oracle.com>
Tue, 23 Oct 2007 10:42:44 +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-blackfin/scatterlist.h
patch
|
blob
|
blame
|
history
diff --git
a/include/asm-blackfin/scatterlist.h
b/include/asm-blackfin/scatterlist.h
index 32128d53469b0ba73c519cdba16098c55a0d9cf2..04f448711cd09eb1755875b87bfe2db353aff15f 100644
(file)
--- 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)