[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <201301261348.36135.arnd@arndb.de>
Date: Sat, 26 Jan 2013 13:48:35 +0000
From: Arnd Bergmann <arnd@...db.de>
To: Tejun Heo <tj@...nel.org>
Cc: akpm@...ux-foundation.org, rusty@...tcorp.com.au,
linux-kernel@...r.kernel.org
Subject: Re: [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 <tj@...nel.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 majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists