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 <t...@kernel.org>

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

        Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to