network: drop unused features in request queue

This commit is contained in:
Yu Watanabe
2021-09-24 21:46:36 +09:00
parent b87e96e2f2
commit b8355de49e
2 changed files with 0 additions and 10 deletions
-3
View File
@@ -70,9 +70,6 @@ static Request *request_free(Request *req) {
/* To prevent from triggering assertions in hash functions, remove this request before
* freeing object below. */
ordered_set_remove(req->link->manager->request_queue, req);
if (req->on_free)
/* on_free() may use object. So, let's call this earlier. */
req->on_free(req);
if (req->consume_object)
request_free_object(req->type, req->object);
link_unref(req->link);