Skip to content
Commit f187b697 authored by Sean Fu's avatar Sean Fu Committed by Tejun Heo
Browse files

workqueue: Use IS_ERR and PTR_ERR instead of PTR_ERR_OR_ZERO.



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: default avatarSean Fu <fxinrong@gmail.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent 47cf1b42
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment