diff --git a/exec/cleanup.js b/exec/cleanup.js
index ee3d1d602facbe3054253b59d02ca2887d60f1f0..6e6beddb0ab94deccdb4d6e362a23a0595d1e5f3 100644
--- a/exec/cleanup.js
+++ b/exec/cleanup.js
@@ -23,12 +23,6 @@ print("for a reasonable period of time before continuing.");
 if(!cont())
 	exit(0);
 
-function remove(path)
-{
-	if(cont("Remove " + path))
-		; //file_remove(path);
-}
-
 const file_list = [
 	{ dir: system.data_dir + backslash("user"), file: "user.dat", desc: "User database (migrated to user.tab)" },
 	{ dir: system.data_dir + backslash("user/ptrs"), file: "*.ixb", desc: "User message scan config/pointers (migrated to *.subs)" },