lkml.org 
[lkml]   [2008]   [Oct]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectPATCH [1/1] cpumask: remove redundant cpumask_size
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@sgi.com>
---
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_;

\
 
 \ /
  Last update: 2008-10-20 20:05    [W:0.124 / U:0.240 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site