Skip to content

Commit 2ec41b2

Browse files
uefi: Drop into conversion from Status to Result
1 parent 0ffc813 commit 2ec41b2

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

uefi/src/result/status.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -208,14 +208,6 @@ impl StatusExt for Status {
208208
}
209209
}
210210

211-
// An UEFI status is equivalent to a Result with no data or error payload
212-
impl From<Status> for Result<(), ()> {
213-
#[inline]
214-
fn from(status: Status) -> Result<(), ()> {
215-
status.to_result_with(|| (), |_| ())
216-
}
217-
}
218-
219211
impl core::fmt::Display for Status {
220212
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
221213
Debug::fmt(self, f)

0 commit comments

Comments
 (0)