misc: Remove unnecessary clippy directives
Clippy passes fine without these. Signed-off-by: Rafael Mendonca <rafaelmendsr@gmail.com>
This commit is contained in:
parent
5dbc72948f
commit
6379074264
7 changed files with 0 additions and 8 deletions
|
|
@ -26,7 +26,6 @@ pub const MTRR_MEM_TYPE_WB: u64 = 0x6;
|
|||
pub const NUM_IOAPIC_PINS: usize = 24;
|
||||
|
||||
// X86 Exceptions
|
||||
#[allow(clippy::upper_case_acronyms)]
|
||||
#[derive(Clone, Debug)]
|
||||
pub enum Exception {
|
||||
DE = 0, // Divide Error
|
||||
|
|
|
|||
|
|
@ -243,7 +243,6 @@ impl KvmGicV3Its {
|
|||
}
|
||||
|
||||
/// Method to initialize the GIC device
|
||||
#[allow(clippy::new_ret_no_self)]
|
||||
pub fn new(vm: &dyn Vm, config: VgicConfig) -> Result<KvmGicV3Its> {
|
||||
// This is inside KVM module
|
||||
let vm = vm.as_any().downcast_ref::<KvmVm>().expect("Wrong VM type?");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue