diff options
author | Ruan Jinjie <ruanjinjie@huawei.com> | 2023-08-17 10:24:18 +0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-08-18 15:32:52 -0700 |
commit | 829b3357dd9737d45b3724b5378adf8cf8334ea1 (patch) | |
tree | a6dd6a99ac67476abeeed65431beec669fd69dc4 /fs/fscache | |
parent | ee09e9deefac842a66cbbd39fd2f03aff6e2a656 (diff) |
net: dm9051: Use PTR_ERR_OR_ZERO() to simplify code
Return PTR_ERR_OR_ZERO() instead of return 0 or PTR_ERR() to
simplify code.
Signed-off-by: Ruan Jinjie <ruanjinjie@huawei.com>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Link: https://lore.kernel.org/r/20230817022418.3588831-1-ruanjinjie@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'fs/fscache')
0 files changed, 0 insertions, 0 deletions