diff --git a/xmrig.c b/xmrig.c index baea504a6..17255ceb8 100644 --- a/xmrig.c +++ b/xmrig.c @@ -284,7 +284,7 @@ static void *miner_thread(void *userdata) { struct cryptonight_ctx *persistentctx = (struct cryptonight_ctx *) create_persistent_ctx(thr_id); - if (cpu_info.count > 1 && opt_n_threads > 1 && opt_affinity != -1L) { + if (cpu_info.count > 1 && opt_affinity != -1L) { affine_to_cpu_mask(thr_id, (unsigned long) opt_affinity); }