From: Mike Travis <travis@sgi.com>
To: Ingo Molnar <mingo@elte.hu>, Rusty Russell <rusty@rustcorp.com.au>
Cc: Jack Steiner <steiner@sgi.com>, LKML <linux-kernel@vger.kernel.org>
Subject: PATCH [1/1] cpumask: remove redundant cpumask_size
Date: Mon, 20 Oct 2008 11:03:01 -0700 [thread overview]
Message-ID: <48FCC7D5.3090802@sgi.com> (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.
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_;
reply other threads:[~2008-10-20 18:02 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=48FCC7D5.3090802@sgi.com \
--to=travis@sgi.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=rusty@rustcorp.com.au \
--cc=steiner@sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.