lkml.org 
[lkml]   [2008]   [Apr]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Fix calculus of bitmap_scnprintf_len()
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@sgi.com> 1.940.382.4214


\
 
 \ /
  Last update: 2008-04-28 15:15    [W:0.054 / U:0.600 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site