File tree Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -776,12 +776,10 @@ impl BootServices {
776776 }
777777 }
778778
779- status. into_with_val ( || {
780- ProtocolsPerHandle {
781- boot_services : self ,
782- protocols : protocols as * mut & Guid ,
783- count,
784- }
779+ status. into_with_val ( || ProtocolsPerHandle {
780+ boot_services : self ,
781+ protocols : protocols as * mut & Guid ,
782+ count,
785783 } )
786784 }
787785
@@ -1428,9 +1426,7 @@ pub struct ProtocolsPerHandle<'a> {
14281426impl < ' a > Drop for ProtocolsPerHandle < ' a > {
14291427 fn drop ( & mut self ) {
14301428 // Ignore the result, we can't do anything about an error here.
1431- let _ = self
1432- . boot_services
1433- . free_pool ( self . protocols as * mut u8 ) ;
1429+ let _ = self . boot_services . free_pool ( self . protocols as * mut u8 ) ;
14341430 }
14351431}
14361432
You can’t perform that action at this time.
0 commit comments