From 0a414ecdf5b55bb5a1717693dbf0fbaba9867792 Mon Sep 17 00:00:00 2001 From: Karol Herbst Date: Tue, 23 Jan 2024 17:01:15 +0100 Subject: [PATCH] nak/opt_out: fix comparison in try_combine_outs clippy complained it was comparing the same thing Fixes: 5b355ff25a7 ("nak: Fix opt_out") Part-of: --- src/nouveau/compiler/nak/opt_out.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nouveau/compiler/nak/opt_out.rs b/src/nouveau/compiler/nak/opt_out.rs index fd94e4d5ccd..559472c3119 100644 --- a/src/nouveau/compiler/nak/opt_out.rs +++ b/src/nouveau/compiler/nak/opt_out.rs @@ -24,7 +24,7 @@ fn try_combine_outs(emit: &mut Instr, cut: &Instr) -> bool { return false; } - if emit.stream != emit.stream { + if emit.stream != cut.stream { return false; }