diff --git a/src/gallium/frontends/rusticl/core/program.rs b/src/gallium/frontends/rusticl/core/program.rs index 9bcb6b9b8c1..5d838de5257 100644 --- a/src/gallium/frontends/rusticl/core/program.rs +++ b/src/gallium/frontends/rusticl/core/program.rs @@ -553,7 +553,7 @@ impl Program { return false; } - let mut d = info.dev_build_mut(dev); + let d = info.dev_build_mut(dev); // skip compilation if we already have the right thing. if self.is_bin() { @@ -594,7 +594,7 @@ impl Program { headers: &[spirv::CLCHeader], info: &mut MutexGuard, ) -> bool { - let mut d = info.dev_build_mut(dev); + let d = info.dev_build_mut(dev); let (spirv, log) = match &self.src { ProgramSourceType::Il(spirv) => {