summaryrefslogtreecommitdiff
path: root/include/linux/workqueue_api.h
diff options
context:
space:
mode:
authorHongling Zeng <zenghongling@kylinos.cn>2026-05-28 09:24:47 +0300
committerLyude Paul <lyude@redhat.com>2026-05-28 19:49:57 +0300
commit281fe11c6c4aebc1a1eb9d21eaab7323ee5af979 (patch)
tree3dbc59aae7e42a1119a58b7a86f45510c2255a99 /include/linux/workqueue_api.h
parentb3f349517de8f4469c385ebb7bfdfcc148790c0f (diff)
downloadlinux-281fe11c6c4aebc1a1eb9d21eaab7323ee5af979.tar.xz
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/workqueue_api.h')
0 files changed, 0 insertions, 0 deletions