Browse Source

Remove unnecessary check for variable that always has memory allocated.

nfactor-troky
Con Kolivas 13 years ago
parent
commit
e07c72687b
  1. 2
      driver-opencl.c

2
driver-opencl.c

@ -1209,7 +1209,7 @@ static bool opencl_thread_prepare(struct thr_info *thr) @@ -1209,7 +1209,7 @@ static bool opencl_thread_prepare(struct thr_info *thr)
return false;
}
if (name && !cgpu->name)
if (!cgpu->name)
cgpu->name = strdup(name);
if (!cgpu->kname)
{

Loading…
Cancel
Save