From: Eric Anholt Date: Wed, 12 Jul 2017 16:41:21 +0000 (-0700) Subject: vc4: Remove a stale comment. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2aec62a45b1c907a8fff511b8eca21fa52538acb;p=mesa.git vc4: Remove a stale comment. The kernel hasn't been synchronous in a couple of years, plus there was synchronization code right there. --- diff --git a/src/gallium/drivers/vc4/vc4_resource.c b/src/gallium/drivers/vc4/vc4_resource.c index 5aaa31d6e67..f13b1da9311 100644 --- a/src/gallium/drivers/vc4/vc4_resource.c +++ b/src/gallium/drivers/vc4/vc4_resource.c @@ -258,10 +258,6 @@ vc4_resource_transfer_map(struct pipe_context *pctx, ptrans->box.z = 0; } - /* Note that the current kernel implementation is synchronous, so no - * need to do syncing stuff here yet. - */ - if (usage & PIPE_TRANSFER_UNSYNCHRONIZED) buf = vc4_bo_map_unsynchronized(rsc->bo); else