mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2024-12-18 20:27:53 +00:00
ggml : remove return from ggml_gallocr_allocate_node (ggml/1048)
This commit removes the return statement from ggml_gallocr_allocate_node function. The motivation behind this change is to make the code more readable and consistent.
This commit is contained in:
parent
e0be0de1ee
commit
c635f40a34
@ -534,7 +534,6 @@ static void ggml_gallocr_allocate_node(ggml_gallocr_t galloc, struct ggml_tensor
|
|||||||
size_t offset = ggml_dyn_tallocr_alloc(alloc, size, node);
|
size_t offset = ggml_dyn_tallocr_alloc(alloc, size, node);
|
||||||
hn->buffer_id = buffer_id;
|
hn->buffer_id = buffer_id;
|
||||||
hn->offset = offset;
|
hn->offset = offset;
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user