]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
gpu: nova-core: gsp: get rid of redundant Result in Gsp::new()
authorDanilo Krummrich <dakr@kernel.org>
Thu, 18 Dec 2025 15:50:50 +0000 (16:50 +0100)
committerDanilo Krummrich <dakr@kernel.org>
Mon, 29 Dec 2025 16:54:31 +0000 (17:54 +0100)
commit032a6772d663a26005f4c17be992a716457f095b
tree1686493ba5581628081715b132fc45f3d7477f29
parent423706aa1c469bfcc3c27a9e8c464f6b88921db7
gpu: nova-core: gsp: get rid of redundant Result in Gsp::new()

In Gsp::new(), utilize pin_init_scope() to get rid of the Result in the
returned

Result<impl PinInit<T, Error>>

which is unnecessarily redundant.

Reviewed-by: Joel Fernandes <joelagnelf@nvidia.com>
Link: https://patch.msgid.link/20251218155239.25243-4-dakr@kernel.org
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
drivers/gpu/nova-core/gpu.rs
drivers/gpu/nova-core/gsp.rs