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:
4dfa6cd
)
mm, page_alloc: remove unnecessary initialisation in get_page_from_freelist
author
Mel Gorman
<
[email protected]
>
Fri, 20 May 2016 00:13:47 +0000
(17:13 -0700)
committer
Linus Torvalds
<
[email protected]
>
Fri, 20 May 2016 02:12:14 +0000
(19:12 -0700)
Signed-off-by: Mel Gorman <
[email protected]
>
Acked-by: Vlastimil Babka <
[email protected]
>
Cc: Jesper Dangaard Brouer <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
mm/page_alloc.c
patch
|
blob
|
history
diff --git
a/mm/page_alloc.c
b/mm/page_alloc.c
index 1d705803fc66f550afe6ee8613c64c4e54a8003c..1096ac8f5ed11c82c5669802015603ddda7486d7 100644
(file)
--- a/
mm/page_alloc.c
+++ b/
mm/page_alloc.c
@@
-2677,7
+2677,6
@@
get_page_from_freelist(gfp_t gfp_mask, unsigned int order, int alloc_flags,
const struct alloc_context *ac)
{
struct zoneref *z;
- struct page *page = NULL;
struct zone *zone;
bool fair_skipped;
bool zonelist_rescan;
@@
-2691,6
+2690,7
@@
zonelist_scan:
*/
for_each_zone_zonelist_nodemask(zone, z, ac->zonelist, ac->high_zoneidx,
ac->nodemask) {
+ struct page *page;
unsigned long mark;
if (cpusets_enabled() &&