Re: [PATCH] Fix calculus of bitmap_scnprintf_len()

From: Paul Jackson
Date: Mon Apr 28 2008 - 09:13:40 EST


Bert wrote:
> The function bitmap_scnprintf_len() is currently not used

Paul Jackson wrote:
> How about we just remove that function?

WANG Cong wrote:
> I am afraid no. See:
>
> include/linux/cpumask.h:292: return bitmap_scnprintf_len(len);

Good point.


Then how about we also remove from cpumask.h:

#define cpumask_scnprintf_len(len) \
__cpumask_scnprintf_len((len))
static inline int __cpumask_scnprintf_len(int len)
{
return bitmap_scnprintf_len(len);
}

--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@xxxxxxx> 1.940.382.4214
--
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/