panfrost: Remove null check in batch_cleanup

Shouldn't happen.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12525>
This commit is contained in:
Alyssa Rosenzweig 2021-08-12 21:10:55 +00:00
parent 40edc87956
commit 81a76d9e42

View file

@ -87,9 +87,6 @@ panfrost_batch_init(struct panfrost_context *ctx,
static void
panfrost_batch_cleanup(struct panfrost_batch *batch)
{
if (!batch)
return;
struct panfrost_context *ctx = batch->ctx;
struct panfrost_device *dev = pan_device(ctx->base.screen);