Re: [PATCH] cpumask: remove incorrect information from comment

From: Rusty Russell
Date: Mon Feb 29 2016 - 21:06:05 EST


Eric Biggers <ebiggers3@xxxxxxxxx> writes:
> Since commit cdfdef75e795f ("cpumask: only allocate nr_cpumask_bits."),
> this comment above cpumask_size() is no longer relevant.
>
> Signed-off-by: Eric Biggers <ebiggers3@xxxxxxxxx>

Acked-by: Rusty Russell <rusty@xxxxxxxxxxxxxxx>

> ---
> include/linux/cpumask.h | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/include/linux/cpumask.h b/include/linux/cpumask.h
> index fc14275..40cee6b 100644
> --- a/include/linux/cpumask.h
> +++ b/include/linux/cpumask.h
> @@ -607,8 +607,6 @@ static inline int cpulist_parse(const char *buf, struct cpumask *dstp)
>
> /**
> * cpumask_size - size to allocate for a 'struct cpumask' in bytes
> - *
> - * This will eventually be a runtime variable, depending on nr_cpu_ids.
> */
> static inline size_t cpumask_size(void)
> {
> --
> 2.7.1