From f4c832ac1508acd94487271a03c90ce9317f099c Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Thu, 4 Dec 2025 16:38:31 +0100 Subject: [PATCH] nak: drop "reference which is immediately dereferenced by the compiler" Part-of: --- src/nouveau/compiler/nak/calc_instr_deps.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/nouveau/compiler/nak/calc_instr_deps.rs b/src/nouveau/compiler/nak/calc_instr_deps.rs index 77c2831f1ee..570c34e66ef 100644 --- a/src/nouveau/compiler/nak/calc_instr_deps.rs +++ b/src/nouveau/compiler/nak/calc_instr_deps.rs @@ -12,7 +12,6 @@ use std::cmp::max; use std::hash::Hash; use std::ops::Range; use std::slice; -use std::{u16, u32, u8}; #[derive(Clone)] enum RegUse { @@ -129,7 +128,7 @@ where } Entry::Occupied(mut occupied_entry) => { let orig = occupied_entry.get_mut(); - *orig = merger(&orig, v); + *orig = merger(orig, v); } } }