diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-03-07 10:44:37 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-03-07 10:44:37 -0500 |
| commit | 54085eafebc926e7c004d4c0a8da519dad53c682 (patch) | |
| tree | 58a8459c4665ca73e537eefcc24c1a8274591645 /lib/workqueue.c | |
| parent | 8590fba34f5bb7d220579cc1d9be31d73d5672f2 (diff) | |
| parent | 30d85a309075db2fafbc8da7a5c7f564474c48c3 (diff) | |
Merge pull request #1428 from LabNConsulting/working/master/indent
frr: conform with COMMUNITY.md formatting rules
Diffstat (limited to 'lib/workqueue.c')
| -rw-r--r-- | lib/workqueue.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/workqueue.c b/lib/workqueue.c index 952012a006..d4ff3ee6ce 100644 --- a/lib/workqueue.c +++ b/lib/workqueue.c @@ -127,8 +127,8 @@ bool work_queue_is_scheduled(struct work_queue *wq) static int work_queue_schedule(struct work_queue *wq, unsigned int delay) { /* if appropriate, schedule work queue thread */ - if (CHECK_FLAG(wq->flags, WQ_UNPLUGGED) && (wq->thread == NULL) && - !work_queue_empty(wq)) { + if (CHECK_FLAG(wq->flags, WQ_UNPLUGGED) && (wq->thread == NULL) + && !work_queue_empty(wq)) { wq->thread = NULL; thread_add_timer_msec(wq->master, work_queue_run, wq, delay, &wq->thread); @@ -159,7 +159,8 @@ void work_queue_add(struct work_queue *wq, void *data) return; } -static void work_queue_item_requeue(struct work_queue *wq, struct work_queue_item *item) +static void work_queue_item_requeue(struct work_queue *wq, + struct work_queue_item *item) { work_queue_item_dequeue(wq, item); |
