git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc452b4
)
fork: use vma_pages() to simplify the code
author
Huang Shijie
<shijie8@gmail.com>
Mon, 30 Jul 2012 21:42:30 +0000
(14:42 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Tue, 31 Jul 2012 00:25:20 +0000
(17:25 -0700)
The current code can be replaced by vma_pages(). So use it to simplify
the code.
[akpm@linux-foundation.org: initialise `len' at its definition site]
Signed-off-by: Huang Shijie <shijie8@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
No differences found