mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-22 20:44:19 +00:00
Remove last references to opt_nogpu.
This commit is contained in:
parent
2799c237c3
commit
744e819117
@ -95,7 +95,6 @@ int opt_dynamic_interval = 7;
|
||||
int opt_g_threads = -1;
|
||||
int gpu_threads;
|
||||
bool opt_restart = true;
|
||||
bool opt_nogpu;
|
||||
|
||||
struct list_head scan_devices;
|
||||
static bool devices_enabled[MAX_DEVICES];
|
||||
|
@ -1012,8 +1012,6 @@ static void opencl_detect(bool hotplug)
|
||||
{
|
||||
int i;
|
||||
|
||||
if (opt_nogpu)
|
||||
return;
|
||||
nDevs = clDevicesNum();
|
||||
if (nDevs < 0) {
|
||||
applog(LOG_ERR, "clDevicesNum returned error, no GPUs usable");
|
||||
|
Loading…
x
Reference in New Issue
Block a user