diff options
| author | Ruan Jinjie <[email protected]> | 2023-08-17 10:24:18 +0800 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2023-08-18 15:32:52 -0700 |
| commit | 829b3357dd9737d45b3724b5378adf8cf8334ea1 (patch) | |
| tree | a6dd6a99ac67476abeeed65431beec669fd69dc4 /net/lapb/lapb_in.c | |
| 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 <[email protected]>
Reviewed-by: Leon Romanovsky <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions