mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-11 07:17:58 +00:00
Remove unnecessary check for variable that always has memory allocated.
This commit is contained in:
parent
a5b05d9c55
commit
e07c72687b
@ -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…
Reference in New Issue
Block a user