Skip to contentSkip to conversation

PATCH [1/1] cpumask: remove redundant cpumask_size

PATCH Mike Travis 1 participant 1 message Oct 20, 2008 Bitmap API

lore
Share & tools
lore
#0 lore raw

cpumask: remove redundant cpumask_size

Not sure how both cpumask_size() functions slipped back in but remove the macro version.

Depends on struct cpumask patches 1-35.

---
 include/linux/cpumask.h |    2 --
 1 file changed, 2 deletions(-)
include/linux/cpumask.h +0 -2
@@ -141,8 +141,6 @@ static inline ssize_t cpumask_size(void)
 }
 
 
-#define cpumask_size() (BITS_TO_LONGS(nr_cpumask_bits) * sizeof(long))
-
 /* Deprecated. */
 typedef struct cpumask cpumask_t;
 extern cpumask_t _unused_cpumask_arg_;