diff --git a/src/fs/FileSystem.hxx b/src/fs/FileSystem.hxx
index b6c4d59e3..76f8bc40a 100644
--- a/src/fs/FileSystem.hxx
+++ b/src/fs/FileSystem.hxx
@@ -37,18 +37,6 @@
 
 class AllocatedPath;
 
-namespace FOpenMode {
-	/**
-	 * Open mode for writing text files.
-	 */
-	constexpr PathTraitsFS::const_pointer_type WriteText = PATH_LITERAL("w");
-
-	/**
-	 * Open mode for appending text files.
-	 */
-	constexpr PathTraitsFS::const_pointer_type AppendText = PATH_LITERAL("a");
-}
-
 /**
  * Wrapper for fopen() that uses #Path names.
  */