Skip to content

Commit

Permalink
igvmbuilder: remove firmware field in GpaMap
Browse files Browse the repository at this point in the history
The firmware field of GpaMap was initialized once but never read. This
raises a warning in the last clippy release.

Signed-off-by: Thomas Leroy <[email protected]>
  • Loading branch information
p4zuu committed Jun 14, 2024
1 parent 75b83b3 commit 0a05dcc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions igvmbuilder/src/gpa_map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ pub struct GpaMap {
pub general_params: GpaRange,
pub memory_map: GpaRange,
pub guest_context: GpaRange,
pub firmware: GpaRange,
pub kernel: GpaRange,
pub vmsa: GpaRange,
}
Expand Down Expand Up @@ -172,7 +171,6 @@ impl GpaMap {
general_params,
memory_map,
guest_context,
firmware: firmware_range,
kernel,
vmsa,
};
Expand Down

0 comments on commit 0a05dcc

Please sign in to comment.