diff --git a/kernel/power/disk.c b/kernel/power/disk.c
index 126dda61f45df1772e1d3a085e33cd11258680d8..6180379d5b84f369049a224c716275c6c18fb39a 100644
--- a/kernel/power/disk.c
+++ b/kernel/power/disk.c
@@ -151,7 +151,7 @@ int pm_suspend_disk(void)
 		return error;
 
 	if (pm_disk_mode == PM_DISK_TESTPROC)
-		goto Thaw;
+		return 0;
 
 	suspend_console();
 	error = device_suspend(PMSG_FREEZE);