diff options
| author | Andrew Morton <akpm@digeo.com> | 2002-12-21 01:08:37 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2002-12-21 01:08:37 -0800 |
| commit | 9a7e870fd78b2dbd3191b62b5e4c734c59c23dc4 (patch) | |
| tree | c43d00dae410e9c6af42df1751199a2b24ec3a22 /include | |
| parent | 2a17c6506815f8a5c80268353a241b7bd851f595 (diff) | |
[PATCH] remove memclass()
From hch. Nothing is using the memclass() predicate.
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/mmzone.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h index f286bf9aeefd..30b38f9efce4 100644 --- a/include/linux/mmzone.h +++ b/include/linux/mmzone.h @@ -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); |
