Skip to content

Commit fd00da6

Browse files
committed
refactor: delete impl Eq for BootConfig
This was unused (thankfully) Signed-off-by: Patrick Roy <[email protected]>
1 parent 9758ef8 commit fd00da6

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

src/vmm/src/resources.rs

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -652,28 +652,6 @@ mod tests {
652652
}
653653
}
654654

655-
impl PartialEq for BootConfig {
656-
fn eq(&self, other: &Self) -> bool {
657-
self.cmdline.eq(&other.cmdline)
658-
&& self.kernel_file.metadata().unwrap().st_ino()
659-
== other.kernel_file.metadata().unwrap().st_ino()
660-
&& self
661-
.initrd_file
662-
.as_ref()
663-
.unwrap()
664-
.metadata()
665-
.unwrap()
666-
.st_ino()
667-
== other
668-
.initrd_file
669-
.as_ref()
670-
.unwrap()
671-
.metadata()
672-
.unwrap()
673-
.st_ino()
674-
}
675-
}
676-
677655
#[test]
678656
fn test_from_json() {
679657
let kernel_file = TempFile::new().unwrap();

0 commit comments

Comments
 (0)