summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorTang Bin <tangbin@cmss.chinamobile.com>2020-05-07 19:12:24 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-05-15 16:25:20 +0200
commit0548745fa335a4665b039b9fd8e121339932c24b (patch)
tree26e56ce9bf4f0060d3075e74766d606af7554fe1 /mm
parentcafa1a5b220a22ae0066e2a1da81065bdbb87e45 (diff)
downloadlinux-0548745fa335a4665b039b9fd8e121339932c24b.tar.bz2
dca: Use PTR_ERR_OR_ZERO() to simplify code
The function PTR_ERR_OR_ZERO() contains the check of IS_ERR() and the return of PTR_ERR() or zero. Signed-off-by: Zhang Shengju <zhangshengju@cmss.chinamobile.com> Signed-off-by: Tang Bin <tangbin@cmss.chinamobile.com> Link: https://lore.kernel.org/r/20200507111224.4176-1-tangbin@cmss.chinamobile.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions