]> git.hungrycats.org Git - linux/commitdiff
[PATCH] remove memclass()
authorAndrew Morton <akpm@digeo.com>
Sat, 21 Dec 2002 09:08:37 +0000 (01:08 -0800)
committerLinus Torvalds <torvalds@home.transmeta.com>
Sat, 21 Dec 2002 09:08:37 +0000 (01:08 -0800)
From hch.  Nothing is using the memclass() predicate.

include/linux/mmzone.h

index f286bf9aeefd3260167d225d5604b2d034ececd0..30b38f9efce46e7348d35f1152f262a5aa0d3094 100644 (file)
@@ -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);