Skip to content

Commit 9429535

Browse files
committed
Remove incorrect content
1 parent e7d275c commit 9429535

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/proto/loaded_image.rs

-6
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,6 @@ impl LoadedImage {
5959
///
6060
/// Return `None` if the pointer to the file path portion specific to
6161
/// DeviceHandle that the EFI Image was loaded from is null.
62-
///
63-
/// To get the path name from the `file_path`, the following should be
64-
/// checked to find out if the `DevicePath` is valid:
65-
///
66-
/// - The DeviceType should be `MEDIA (0x04)`
67-
/// - The DeviceSubType should be `MEDIA_FILE_PATH (0x04)`
6862
pub fn file_path(&self) -> Option<&DevicePath> {
6963
unsafe { self.file_path.as_ref() }
7064
}

0 commit comments

Comments
 (0)