Re: [PATCH v2] workqueue: Use IS_ERR and PTR_ERR instead of PTR_ERR_OR_ZERO.

From: Tejun Heo
Date: Tue May 05 2020 - 11:56:54 EST


On Wed, Apr 29, 2020 at 12:04:13PM +0800, Sean Fu wrote:
> Replace inline function PTR_ERR_OR_ZERO with IS_ERR and PTR_ERR to
> remove redundant parameter definitions and checks.
> Reduce code size.
> Before:
> text data bss dec hex filename
> 47510 5979 840 54329 d439 kernel/workqueue.o
> After:
> text data bss dec hex filename
> 47474 5979 840 54293 d415 kernel/workqueue.o
>
> Signed-off-by: Sean Fu <fxinrong@xxxxxxxxx>

Applied to wq/for-5.8.

Thanks.

--
tejun