[lkml]   [2013]   [Jan]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 14/14] idr: deprecate idr_remove_all()
On Saturday 26 January 2013, Tejun Heo wrote:
> There was only one legitimate use of idr_remove_all() and a lot more
> of incorrect uses (or lack of it). Now that idr_destroy() implies
> idr_remove_all() and all the in-kernel users updated not to use it,
> there's no reason to keep it around. Mark it deprecated so that we
> can later unexport it.
> idr_remove_all() is made an inline function calling __idr_remove_all()
> to avoid triggering deprecated warning on EXPORT_SYMBOL().
> Signed-off-by: Tejun Heo <>

If all in-kernel users are gone, why not just remove the function


 \ /
  Last update: 2013-01-26 15:21    [W:0.089 / U:1.608 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site