Merge pull request #14171 from mjstapp/fix_bgp_lblpool_indent

bgpd: fix whitespace/indent in bgp_labelpool module
This commit is contained in:
Donatas Abraitis 2023-08-10 16:20:28 +03:00 committed by GitHub
commit 8ceb262401
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -506,7 +506,6 @@ static void bgp_sync_label_manager(struct event *e)
struct lp_fifo *lf;
while ((lf = lp_fifo_pop(&lp->requests))) {
struct lp_lcb *lcb;
void *labelid = lf->lcb.labelid;
@ -528,8 +527,8 @@ static void bgp_sync_label_manager(struct event *e)
/* request already has a label */
if (debug) {
zlog_debug("%s: labelid %p: request already has a label: %u=0x%x, lcb=%p",
__func__, labelid,
lcb->label, lcb->label, lcb);
__func__, labelid, lcb->label,
lcb->label, lcb);
}
/* if this was a BGP_LU request, unlock node
*/
@ -572,9 +571,9 @@ static void bgp_sync_label_manager(struct event *e)
finishedrequest:
XFREE(MTYPE_BGP_LABEL_FIFO, lf);
}
}
event_add_timer(bm->master, bgp_sync_label_manager, NULL, 1,
event_add_timer(bm->master, bgp_sync_label_manager, NULL, 1,
&bm->t_bgp_sync_label_manager);
}