diff options
author | Liao Yuanhong <liaoyuanhong@vivo.com> | 2025-08-15 21:36:43 +0800 |
---|---|---|
committer | Lyude Paul <lyude@redhat.com> | 2025-08-29 17:10:13 -0400 |
commit | f3e82936857b3bd77b824ecd2fa7839dd99ec0c6 (patch) | |
tree | 80acf99fbf57e6755f6355098ce6ccd4498d6897 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | 24de3daf6179bce3710527b8292d7ee6f1b56393 (diff) |
drm/nouveau: Replace redundant return value judgment with PTR_ERR_OR_ZERO()
Replace redundant return value judgment with PTR_ERR_OR_ZERO() to
enhance code readability.
Signed-off-by: Liao Yuanhong <liaoyuanhong@vivo.com>
Signed-off-by: Lyude Paul <lyude@redhat.com>
Link: https://lore.kernel.org/r/20250815133643.418089-1-liaoyuanhong@vivo.com
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions