mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-24 12:59:19 +00:00
bgpd: Remove useless reuselist_node assignment before while loop
Seems really not necessary pointing to initial value before while loop, where it's assigned anyway. Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
This commit is contained in:
parent
debe0f528c
commit
6b3486be11
@ -229,7 +229,6 @@ static void bgp_reuse_timer(struct event *t)
|
||||
* list head entry. */
|
||||
assert(bdc->reuse_offset < bdc->reuse_list_size);
|
||||
plist = bdc->reuse_list[bdc->reuse_offset];
|
||||
node = SLIST_FIRST(&plist);
|
||||
SLIST_INIT(&bdc->reuse_list[bdc->reuse_offset]);
|
||||
|
||||
/* 2. set offset = modulo reuse-list-size ( offset + 1 ), thereby
|
||||
|
Loading…
Reference in New Issue
Block a user