network: drop unused "after_configure" feature for nexthops, neighbors, and routing policy rules

This commit is contained in:
Yu Watanabe
2021-09-10 19:40:27 +09:00
parent f1c22cf4da
commit 995cc7a72c
3 changed files with 0 additions and 27 deletions
-9
View File
@@ -477,15 +477,6 @@ int request_process_neighbor(Request *req) {
if (r < 0)
return r;
/* To prevent a double decrement on failure in after_configure(). */
req->message_counter = NULL;
if (req->after_configure) {
r = req->after_configure(req, ret);
if (r < 0)
return r;
}
return 1;
}
-9
View File
@@ -812,15 +812,6 @@ int request_process_nexthop(Request *req) {
if (r < 0)
return r;
/* To prevent a double decrement on failure in after_configure(). */
req->message_counter = NULL;
if (req->after_configure) {
r = req->after_configure(req, ret);
if (r < 0)
return r;
}
return 1;
}
@@ -884,15 +884,6 @@ int request_process_routing_policy_rule(Request *req) {
if (r < 0)
return r;
/* To prevent a double decrement on failure in after_configure(). */
req->message_counter = NULL;
if (req->after_configure) {
r = req->after_configure(req, ret);
if (r < 0)
return r;
}
return 1;
}