Remove curtainClose() remnants

Change-Id: I6ae96b60d34fa4e4b23cd1e5a4fffff3d00451c7
diff --git a/gui/action.cpp b/gui/action.cpp
index 7db1f87..56336f4 100644
--- a/gui/action.cpp
+++ b/gui/action.cpp
@@ -58,8 +58,6 @@
 #include "objects.hpp"
 #include "../tw_atomic.hpp"
 
-void curtainClose(void);
-
 GUIAction::mapFunc GUIAction::mf;
 std::set<string> GUIAction::setActionsRunningInCallerThread;
 static string zip_queue[10];
@@ -521,8 +519,6 @@
 
 int GUIAction::reboot(std::string arg)
 {
-	//curtainClose(); this sometimes causes a crash
-
 	sync();
 	DataManager::SetValue("tw_gui_done", 1);
 	DataManager::SetValue("tw_reboot_arg", arg);