diff --git a/src/nouveau/compiler/meson.build b/src/nouveau/compiler/meson.build index 535294ecf1f..47de5059278 100644 --- a/src/nouveau/compiler/meson.build +++ b/src/nouveau/compiler/meson.build @@ -34,14 +34,6 @@ _libbitview_rs = static_library( gnu_symbol_visibility : 'hidden', rust_abi : 'rust', rust_args : [ - # we error on all clippy warnings unless they are disabled - '-Dclippy::all', - # we want to add asserts in control flow - '-Aclippy::assertions_on_constants', - # dunno, kind of looks nicier being explicit - '-Aclippy::redundant_field_names', - '-Aclippy::too_many_arguments', - '-Aclippy::type_complexity', '-Anon_snake_case', ], ) @@ -107,14 +99,6 @@ _libnak_rs = static_library( gnu_symbol_visibility : 'hidden', rust_abi : 'c', rust_args : [ - # we error on all clippy warnings unless they are disabled - '-Dclippy::all', - # we want to add asserts in control flow - '-Aclippy::assertions_on_constants', - # dunno, kind of looks nicier being explicit - '-Aclippy::redundant_field_names', - '-Aclippy::too_many_arguments', - '-Aclippy::type_complexity', '-Anon_snake_case', ], link_with: [_libbitview_rs, libnak_bindings_gen, _libnak_ir_proc_rs], diff --git a/src/nouveau/compiler/nak/assign_regs.rs b/src/nouveau/compiler/nak/assign_regs.rs index a381faa1dec..671b67c992d 100644 --- a/src/nouveau/compiler/nak/assign_regs.rs +++ b/src/nouveau/compiler/nak/assign_regs.rs @@ -409,8 +409,6 @@ impl<'a> PinnedRegAllocator<'a> { align: u32, comps: u8, ) -> Option { - let align = align; - let mut next_reg = start_reg; loop { let reg: u32 = self