Whitespace and minor code cleanup

This is by no means comprehensive, but is quite a bit better already.

Change-Id: Ibc8654a5dfb0eec39cbd0b64bdb52bb4fbfe2f7e
diff --git a/twrp-functions.cpp b/twrp-functions.cpp
index fd974d2..2128c96 100644
--- a/twrp-functions.cpp
+++ b/twrp-functions.cpp
@@ -550,7 +550,7 @@
 			if (p->d_type == DT_DIR) {
 				r = removeDir(new_path, true);
 				if (!r) {
-					if (p->d_type == DT_DIR) 
+					if (p->d_type == DT_DIR)
 						r = rmdir(new_path.c_str());
 					else
 						LOGINFO("Unable to removeDir '%s': %s\n", new_path.c_str(), strerror(errno));
@@ -564,7 +564,7 @@
 		}
 		closedir(d);
 
-		if (!r) { 
+		if (!r) {
 			if (skipParent)
 				return 0;
 			else