From 8a7396493c3effb356d2dc4484b993b4698bc422 Mon Sep 17 00:00:00 2001 From: Amlal Date: Sun, 27 Apr 2025 23:31:27 +0200 Subject: dev, kernel: HeFS had to be redesigned to be less problematic with hard-drives. why? the struct were way too big to fit wihin a sector. Signed-off-by: Amlal --- dev/boot/modules/SysChk/SysChk.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'dev/boot/modules/SysChk') 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); } -- cgit v1.2.3