|
|
@@ -363,19 +363,6 @@ void bifury_queue_flush(struct thr_info * const thr)
|
|
|
bifury_set_queue_full(dev, dev->procs);
|
|
|
}
|
|
|
|
|
|
-static
|
|
|
-const struct cgpu_info *device_proc_by_id(const struct cgpu_info * const dev, int procid)
|
|
|
-{
|
|
|
- const struct cgpu_info *proc = dev;
|
|
|
- for (int i = 0; i < procid; ++i)
|
|
|
- {
|
|
|
- proc = proc->next_proc;
|
|
|
- if (unlikely(!proc))
|
|
|
- return NULL;
|
|
|
- }
|
|
|
- return proc;
|
|
|
-}
|
|
|
-
|
|
|
static
|
|
|
void bifury_handle_cmd(struct cgpu_info * const dev, const char * const cmd)
|
|
|
{
|