Browse Source

Merge commit '998a995' into bfgminer-3.0.x

Luke Dashjr 13 years ago
parent
commit
b00cc9015d
1 changed files with 0 additions and 5 deletions
  1. 0 5
      fpgautils.c

+ 0 - 5
fpgautils.c

@@ -232,15 +232,10 @@ int _serial_autodetect_sysfs(detectone_func_t detectone, va_list needles)
 				
 				strcpy(&buf[5], de->d_name);
 				if (detectone(buf))
-				{
 					++found;
-					closedir(DT);
-					goto nextdev;
-				}
 			}
 			closedir(DT);
 		}
-nextdev:
 		closedir(DS);
 	}
 	closedir(D);