misc: Remove unnecessary clippy directives

Clippy passes fine without these.

Signed-off-by: Rafael Mendonca <rafaelmendsr@gmail.com>
This commit is contained in:
Rafael Mendonca
2023-04-18 11:03:28 -03:00
committed by Bo Chen
parent 5dbc72948f
commit 6379074264
7 changed files with 0 additions and 8 deletions

View File

@@ -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?");