Messages in this thread |  | | From | Arnd Bergmann <> | Subject | Re: [PATCH 14/14] idr: deprecate idr_remove_all() | Date | Sat, 26 Jan 2013 13:48:35 +0000 |
| |
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 <tj@kernel.org>
If all in-kernel users are gone, why not just remove the function completely?
Arnd
|  |