From a8b52dc1237a7b222b699fd92f10a300d3b82cc6 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/libraries/libstratosphere/source/fssystem/fssystem_local_file_system.cpp b/libraries/libstratosphere/source/fssystem/fssystem_local_file_system.cpp index da12e4de6..2a11b1550 100644 --- a/libraries/libstratosphere/source/fssystem/fssystem_local_file_system.cpp +++ b/libraries/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 {