Re: [PATCH 14/14] idr: deprecate idr_remove_all()

From: Arnd Bergmann
Date: Sat Jan 26 2013 - 08:48:49 EST


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@xxxxxxxxxx>

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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/