Browse Source

Merge remote-tracking branch 'bfg-pull/369/head' into bfgminer

Conflicts:
	miner.h
	scrypt.c
Luke Dashjr 12 years ago
parent
commit
7e45129680
3 changed files with 3 additions and 3 deletions
  1. 1 1
      driver-ztex.c
  2. 1 1
      ocl.c
  3. 1 1
      util.h

+ 1 - 1
driver-ztex.c

@@ -374,7 +374,7 @@ static bool ztex_prepare(struct thr_info *thr)
 		thr->cgpu->deven = DEV_DISABLED;
 		thr->cgpu->deven = DEV_DISABLED;
 		return true;
 		return true;
 	}
 	}
-	ztex->dclk.freqM = ztex->dclk.freqMaxM+1;;
+	ztex->dclk.freqM = ztex->dclk.freqMaxM+1;
 	//ztex_updateFreq(thr);
 	//ztex_updateFreq(thr);
 	libztex_setFreq(ztex, ztex->dclk.freqMDefault, cgpu->proc_repr);
 	libztex_setFreq(ztex, ztex->dclk.freqMDefault, cgpu->proc_repr);
 	ztex_releaseFpga(ztex);
 	ztex_releaseFpga(ztex);

+ 1 - 1
ocl.c

@@ -325,7 +325,7 @@ int clDevicesNum(void) {
 	}
 	}
 
 
 	if (opt_platform_id < 0)
 	if (opt_platform_id < 0)
-		opt_platform_id = mdplatform;;
+		opt_platform_id = mdplatform;
 	if (mdmesa && opt_g_threads == -1)
 	if (mdmesa && opt_g_threads == -1)
 		opt_g_threads = 1;
 		opt_g_threads = 1;
 
 

+ 1 - 1
util.h

@@ -253,7 +253,7 @@ void bytes_extend_buf(bytes_t * const b, const size_t newsz)
 static inline
 static inline
 void bytes_resize(bytes_t * const b, const size_t newsz)
 void bytes_resize(bytes_t * const b, const size_t newsz)
 {
 {
-	bytes_extend_buf(b, newsz);;
+	bytes_extend_buf(b, newsz);
 	b->sz = newsz;
 	b->sz = newsz;
 }
 }