diff options
Diffstat (limited to 'dev/boot/modules')
| -rw-r--r-- | dev/boot/modules/SysChk/SysChk.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/dev/boot/modules/SysChk/SysChk.cc b/dev/boot/modules/SysChk/SysChk.cc index 05ac6da0..c93ef83b 100644 --- a/dev/boot/modules/SysChk/SysChk.cc +++ b/dev/boot/modules/SysChk/SysChk.cc @@ -36,7 +36,5 @@ EXTERN_C Int32 SysChkModuleMain(Kernel::HEL::BootInfoHeader* handover) { #endif if (partition_factory.IsPartitionValid()) return kEfiOk; - auto ret = partition_factory.Format(kMachineModel) == YES; - - return ret; + return partition_factory.Format(kMachineModel); } |
