Remove unnecessary check for variable that always has memory allocated.
diff --git a/driver-opencl.c b/driver-opencl.c
index b36c9c7..6fb85d9 100644
--- a/driver-opencl.c
+++ b/driver-opencl.c
@@ -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)
{