Messages in this thread | | | Date | Mon, 9 Aug 2021 12:33:05 -1000 | From | Tejun Heo <> | Subject | Re: [PATCH] workqueue: Replace deprecated ida_simple_*() with ida_alloc()/ida_free() |
| |
On Wed, Aug 04, 2021 at 11:50:36AM +0800, Zhen Lei wrote: > Replace ida_simple_get() with ida_alloc() and ida_simple_remove() with > ida_free(), the latter is more concise and intuitive. > > In addition, if ida_alloc() fails, NULL is returned directly. This > eliminates unnecessary initialization of two local variables and an 'if' > judgment. > > Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Applied to wq/for-5.15.
Thanks.
-- tejun
| |