From 81270919340a1560aed43574b331ae77b3015dba Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Mon, 28 Mar 2022 08:37:08 -0700 Subject: [PATCH] fs: remove dead code --- .../source/fssystem/fssystem_local_file_system.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/libstratosphere/source/fssystem/fssystem_local_file_system.cpp b/libstratosphere/source/fssystem/fssystem_local_file_system.cpp index da12e4de..2a11b155 100644 --- a/libstratosphere/source/fssystem/fssystem_local_file_system.cpp +++ b/libstratosphere/source/fssystem/fssystem_local_file_system.cpp @@ -178,11 +178,6 @@ namespace ams::fssystem { } R_SUCCEED(); - - /* Set the file size. */ - R_UNLESS(::SetEndOfFile(handle), ConvertLastErrorToResult()); - - R_SUCCEED(); } class LocalFile : public ::ams::fs::fsa::IFile, public ::ams::fs::impl::Newable {