Commit 9a7e870f authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] remove memclass()

From hch.  Nothing is using the memclass() predicate.
parent 2a17c650
......@@ -193,16 +193,6 @@ typedef struct pglist_data {
extern int numnodes;
extern struct pglist_data *pgdat_list;
static inline int
memclass(struct zone *pgzone, struct zone *classzone)
{
if (pgzone->zone_pgdat != classzone->zone_pgdat)
return 0;
if (pgzone > classzone)
return 0;
return 1;
}
void get_zone_counts(unsigned long *active, unsigned long *inactive);
void build_all_zonelists(void);
void wakeup_kswapd(struct zone *zone);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment