summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Rosenthal <jrosenth@chromium.org>2022-06-27 14:39:05 -0600
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-07-01 20:46:37 +0000
commit593a73ce0a79514c567f6f6955d24a7c548db7af (patch)
treecf7f28cd80c55e96b9b1b4dc32f47fc4b591b51e
parent30fcb4251724e2db3c69425f441c9ffaf7d2a3d7 (diff)
downloadchrome-ec-593a73ce0a79514c567f6f6955d24a7c548db7af.tar.gz
common/queue_policies.c: Format with clang-format
BUG=b:236386294 BRANCH=none TEST=none Change-Id: Id218d09f5c5e4941564376819f79585f231a0871 Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3729729 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
-rw-r--r--common/queue_policies.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/queue_policies.c b/common/queue_policies.c
index 090c837fae..370990887c 100644
--- a/common/queue_policies.c
+++ b/common/queue_policies.c
@@ -29,14 +29,14 @@ void queue_remove_direct(struct queue_policy const *policy, size_t count)
struct producer const null_producer = {
.queue = NULL,
- .ops = &((struct producer_ops const) {
- .read = NULL,
+ .ops = &((struct producer_ops const){
+ .read = NULL,
}),
};
struct consumer const null_consumer = {
.queue = NULL,
- .ops = &((struct consumer_ops const) {
+ .ops = &((struct consumer_ops const){
.written = NULL,
}),
};