PATCH [1/1] cpumask: remove redundant cpumask_size

From: Mike Travis
Date: Mon Oct 20 2008 - 14:02:25 EST


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.

Signed-off-by: Mike Travis <travis@xxxxxxx>
---
include/linux/cpumask.h | 2 --
1 file changed, 2 deletions(-)

--- test-compile.orig/include/linux/cpumask.h
+++ test-compile/include/linux/cpumask.h
@@ -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_;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/