projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a6b088
)
drm: Remove unused variable in drm_prime_sg_to_page_addr_arrays()
author
Lespiau, Damien
<damien.lespiau@intel.com>
Sat, 28 Sep 2013 15:24:02 +0000
(16:24 +0100)
committer
Dave Airlie
<airlied@redhat.com>
Tue, 1 Oct 2013 05:28:58 +0000
(15:28 +1000)
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_prime.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/drm_prime.c
b/drivers/gpu/drm/drm_prime.c
index 276d470f7b3efa970c00db47bfd8eabef7c6725d..56805c39c906dfa64326dd8003e6445889f7840e 100644
(file)
--- a/
drivers/gpu/drm/drm_prime.c
+++ b/
drivers/gpu/drm/drm_prime.c
@@
-637,14
+637,13
@@
int drm_prime_sg_to_page_addr_arrays(struct sg_table *sgt, struct page **pages,
unsigned count;
struct scatterlist *sg;
struct page *page;
- u32 len
, offset
;
+ u32 len;
int pg_index;
dma_addr_t addr;
pg_index = 0;
for_each_sg(sgt->sgl, sg, sgt->nents, count) {
len = sg->length;
- offset = sg->offset;
page = sg_page(sg);
addr = sg_dma_address(sg);