Browse Source

Whitespaces

Vitalii Demianets 11 years ago
parent
commit
46fc0033c8
1 changed files with 9 additions and 9 deletions
  1. 9 9
      driver-titan.c

+ 9 - 9
driver-titan.c

@@ -709,15 +709,15 @@ error_bad_params:
 		if (!die_enable(device->device_data, asic, die, replybuf))
 			return replybuf;
 	} else if (0 == strncasecmp(str, "disable", sizeof(str) - 1)) {
-                if (!die_disable(device->device_data, asic, die, replybuf))
-                        return replybuf;
-        } else if (0 == strncasecmp(str, "reconfigure", sizeof(str) - 1)) {
-                if (!die_reconfigure(device->device_data, asic, die, replybuf)) {
-						/* Do not return error on reconfigure command! 
-						 * (or the whole bfgminer eill be restarted) */
-						*success = SDR_OK;
-                        return replybuf;
-				}
+		if (!die_disable(device->device_data, asic, die, replybuf))
+			return replybuf;
+	} else if (0 == strncasecmp(str, "reconfigure", sizeof(str) - 1)) {
+		if (!die_reconfigure(device->device_data, asic, die, replybuf)) {
+			/* Do not return error on reconfigure command!
+			 * (or the whole bfgminer eill be restarted) */
+			*success = SDR_OK;
+			return replybuf;
+		}
 	} else
 		goto error_bad_params;
 	sprintf(replybuf, "Die setup Ok; asic %d die %d cmd %s", asic, die, str);