diff options
| author | Hongling Zeng <zenghongling@kylinos.cn> | 2026-05-28 14:24:47 +0800 |
|---|---|---|
| committer | Lyude Paul <lyude@redhat.com> | 2026-05-28 12:49:57 -0400 |
| commit | 281fe11c6c4aebc1a1eb9d21eaab7323ee5af979 (patch) | |
| tree | 3dbc59aae7e42a1119a58b7a86f45510c2255a99 /include/linux/timerqueue_types.h | |
| parent | b3f349517de8f4469c385ebb7bfdfcc148790c0f (diff) | |
nouveau/gsp: cleanup IS_ERR_OR_NULL in rm_alloc functions
The underlying functions already return error pointers, so checking for
NULL with IS_ERR_OR_NULL() is redundant. Use IS_ERR() instead.
This affects:
- nvkm_gsp_rm_alloc_get()
- nvkm_gsp_rm_alloc()
Signed-off-by: Hongling Zeng <zenghongling@kylinos.cn>
Signed-off-by: Lyude Paul <lyude@redhat.com>
Link: https://patch.msgid.link/20260528062451.54107-2-zenghongling@kylinos.cn
Reviewed-by: Lyude Paul <lyude@redhat.com>
Diffstat (limited to 'include/linux/timerqueue_types.h')
0 files changed, 0 insertions, 0 deletions
