diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2022-07-20 15:47:42 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2022-07-20 15:50:32 -0400 |
| commit | cb1991af8c3f09e28c90932cb36bd1d2c07375d6 (patch) | |
| tree | 8afceae737eed0619bdd3c074676795efccbdb2a /lib/stream.c | |
| parent | efa98761d28b79796c0df91f823b241106d5f7b6 (diff) | |
*: frr_with_mutex change to follow our standard
convert:
frr_with_mutex(..)
to:
frr_with_mutex (..)
To make all our code agree with what clang-format is going to produce
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'lib/stream.c')
| -rw-r--r-- | lib/stream.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/stream.c b/lib/stream.c index 83ed015bc9..2de3abdf45 100644 --- a/lib/stream.c +++ b/lib/stream.c @@ -1280,7 +1280,7 @@ void stream_fifo_push(struct stream_fifo *fifo, struct stream *s) void stream_fifo_push_safe(struct stream_fifo *fifo, struct stream *s) { - frr_with_mutex(&fifo->mtx) { + frr_with_mutex (&fifo->mtx) { stream_fifo_push(fifo, s); } } @@ -1312,7 +1312,7 @@ struct stream *stream_fifo_pop_safe(struct stream_fifo *fifo) { struct stream *ret; - frr_with_mutex(&fifo->mtx) { + frr_with_mutex (&fifo->mtx) { ret = stream_fifo_pop(fifo); } @@ -1328,7 +1328,7 @@ struct stream *stream_fifo_head_safe(struct stream_fifo *fifo) { struct stream *ret; - frr_with_mutex(&fifo->mtx) { + frr_with_mutex (&fifo->mtx) { ret = stream_fifo_head(fifo); } @@ -1350,7 +1350,7 @@ void stream_fifo_clean(struct stream_fifo *fifo) void stream_fifo_clean_safe(struct stream_fifo *fifo) { - frr_with_mutex(&fifo->mtx) { + frr_with_mutex (&fifo->mtx) { stream_fifo_clean(fifo); } } |
