rust-vmm / vfio

14 stars 20 forks source link

vfio-ioctls: fix clippy::needless-late-init warnings #10

Closed liuw closed 2 years ago

liuw commented 2 years ago

Summary of the PR

Fixed two clippy warnings.

This patch is split out from my other PR which changed the APIs of this crate. This can be applied independently.

Requirements

Before submitting your PR, please make sure you addressed the following requirements: