Skip to content
Snippets Groups Projects
Commit 1ffa7483 authored by Roman Tsisyk's avatar Roman Tsisyk
Browse files

Remove unused sophia_poll()

parent ab8d5b5a
No related branches found
No related tags found
No related merge requests found
......@@ -278,20 +278,6 @@ SophiaEngine::~SophiaEngine()
sp_destroy(env);
}
static inline int
sophia_poll(SophiaEngine *e)
{
void *req = sp_poll(e->env);
if (req == NULL)
return 0;
struct fiber *fiber =
(struct fiber *)sp_getstring(req, "arg", NULL);
assert(fiber != NULL);
fiber_set_key(fiber, FIBER_KEY_MSG, req);
fiber_call(fiber);
return 1;
}
void
SophiaEngine::init()
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment