mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
nouveau/gsp: cleanup IS_ERR_OR_NULL in rpc_rd
The underlying nvkm_gsp_rpc_get() function returns error pointers, so checking for NULL with IS_ERR_OR_NULL() is redundant. Use IS_ERR() instead. This affects nvkm_gsp_rpc_rd(). Signed-off-by: Hongling Zeng <zenghongling@kylinos.cn> Signed-off-by: Lyude Paul <lyude@redhat.com> Link: https://patch.msgid.link/20260528062451.54107-3-zenghongling@kylinos.cn Reviewed-by: Lyude Paul <lyude@redhat.com>
This commit is contained in:
parent
281fe11c6c
commit
47f15f6cf0
1 changed files with 1 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue