diff options
Diffstat (limited to 'mm')
-rw-r--r-- | mm/mmzone.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/mm/mmzone.c b/mm/mmzone.c index bf34fb8556db..7d87ebb0d632 100644 --- a/mm/mmzone.c +++ b/mm/mmzone.c | |||
@@ -54,8 +54,7 @@ static inline int zref_in_nodemask(struct zoneref *zref, nodemask_t *nodes) | |||
54 | /* Returns the next zone at or below highest_zoneidx in a zonelist */ | 54 | /* Returns the next zone at or below highest_zoneidx in a zonelist */ |
55 | struct zoneref *next_zones_zonelist(struct zoneref *z, | 55 | struct zoneref *next_zones_zonelist(struct zoneref *z, |
56 | enum zone_type highest_zoneidx, | 56 | enum zone_type highest_zoneidx, |
57 | nodemask_t *nodes, | 57 | nodemask_t *nodes) |
58 | struct zone **zone) | ||
59 | { | 58 | { |
60 | /* | 59 | /* |
61 | * Find the next suitable zone to use for the allocation. | 60 | * Find the next suitable zone to use for the allocation. |
@@ -69,7 +68,6 @@ struct zoneref *next_zones_zonelist(struct zoneref *z, | |||
69 | (z->zone && !zref_in_nodemask(z, nodes))) | 68 | (z->zone && !zref_in_nodemask(z, nodes))) |
70 | z++; | 69 | z++; |
71 | 70 | ||
72 | *zone = zonelist_zone(z); | ||
73 | return z; | 71 | return z; |
74 | } | 72 | } |
75 | 73 | ||