aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/compute/skc/suballocator.c
diff options
context:
space:
mode:
authorGravatar Hal Canary <halcanary@google.com>2018-07-11 16:10:14 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-07-16 13:59:36 +0000
commit1419534a0079618b9c12edd74fd756e36b0523bf (patch)
tree46e83a5a3c46cdf5aa70f48c2ed73b81874f481a /src/compute/skc/suballocator.c
parent7e83f89dd67e7c66d853e78b4630450bfb406de0 (diff)
Whitespace cleanup again
Change-Id: I38ab9ff141eb088084a4c0e664f327ceb89fcf70 Reviewed-on: https://skia-review.googlesource.com/140784 Commit-Queue: Hal Canary <halcanary@google.com> Auto-Submit: Hal Canary <halcanary@google.com> Reviewed-by: Mike Klein <mtklein@google.com>
Diffstat (limited to 'src/compute/skc/suballocator.c')
-rw-r--r--src/compute/skc/suballocator.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/compute/skc/suballocator.c b/src/compute/skc/suballocator.c
index 382e818c27..c6b9ec1681 100644
--- a/src/compute/skc/suballocator.c
+++ b/src/compute/skc/suballocator.c
@@ -178,7 +178,7 @@ skc_suballocator_subbuf_alloc(struct skc_suballocator * const suballocator,
}
assert(suballocator->rem.avail > 0);
-
+
// return origin
return avail->origin;
}
@@ -189,7 +189,7 @@ skc_suballocator_subbuf_alloc(struct skc_suballocator * const suballocator,
skc_uint spare_idx = suballocator->count - spare_rem;
skc_subbuf_id_t const spare_id = ids[spare_idx];
struct skc_subbuf * const spare = suballocator->subbufs + spare_id;
-
+
assert(spare->inuse == 0);
// simple -- we're popping the top-of-stack of spares
@@ -199,7 +199,7 @@ skc_suballocator_subbuf_alloc(struct skc_suballocator * const suballocator,
*subbuf_id = spare_id;
SKC_SUBALLOCATOR_DEBUG_ALLOC(suballocator,spare_id,size_ru);
-
+
// get prev
struct skc_subbuf * const prev = avail->prev;