diff options
| author | Sean Fu <fxinrong@gmail.com> | 2020-04-29 12:04:13 +0800 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2020-05-05 11:56:07 -0400 |
| commit | f187b6974f6dfbeba4aafda972cc37f27d091b73 (patch) | |
| tree | 022e9e3a2ef8f41347694d18c08a16b8ea0fa7fc /kernel/sysctl_binary.c | |
| parent | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/hid... (diff) | |
| download | linux-f187b6974f6dfbeba4aafda972cc37f27d091b73.tar.gz linux-f187b6974f6dfbeba4aafda972cc37f27d091b73.zip | |
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: Sean Fu <fxinrong@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'kernel/sysctl_binary.c')
0 files changed, 0 insertions, 0 deletions
