Skip to content

Commit

Permalink
kgsl: Fix cherry-pick commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Le Hoang committed Jun 30, 2016
1 parent 313a5be commit bae0f21
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions drivers/gpu/msm/kgsl_sharedmem.c
Original file line number Diff line number Diff line change
Expand Up @@ -579,11 +579,9 @@ _kgsl_sharedmem_page_alloc(struct kgsl_memdesc *memdesc,
struct kgsl_pagetable *pagetable,
size_t size)
{
int pcount = 0, order, ret = 0;
int j, page_size, sglen_alloc, sglen = 0;
int order, ret = 0;
int page_size, sglen_alloc, sglen = 0;
size_t len;
struct page **pages = NULL;
pgprot_t page_prot = pgprot_writecombine(PAGE_KERNEL);
void *ptr;
unsigned int align;

Expand Down

0 comments on commit bae0f21

Please sign in to comment.