summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorHongling Zeng <zenghongling@kylinos.cn>2026-05-28 14:24:47 +0800
committerLyude Paul <lyude@redhat.com>2026-05-28 12:49:57 -0400
commit281fe11c6c4aebc1a1eb9d21eaab7323ee5af979 (patch)
tree3dbc59aae7e42a1119a58b7a86f45510c2255a99 /include/linux
parentb3f349517de8f4469c385ebb7bfdfcc148790c0f (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')
0 files changed, 0 insertions, 0 deletions