nak: remove unused lifetime

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38807>
This commit is contained in:
Eric Engestrom 2025-10-04 16:54:29 +02:00
parent 23ae567ae6
commit 8a35fc9500

View file

@ -404,7 +404,7 @@ pub struct Runner {
qmd_heap: QMDHeap,
}
impl<'a> Runner {
impl Runner {
pub fn new(dev_id: Option<usize>) -> Runner {
let dev = Device::new(dev_id).expect("Failed to create nouveau device");
let ctx = Context::new(dev.clone()).expect("Failed to create context");