diff --git a/src/gallium/auxiliary/driver_trace/tr_texture.c b/src/gallium/auxiliary/driver_trace/tr_texture.c index fe0c7b52c9b..d644e1b08ba 100644 --- a/src/gallium/auxiliary/driver_trace/tr_texture.c +++ b/src/gallium/auxiliary/driver_trace/tr_texture.c @@ -87,8 +87,6 @@ trace_transfer_create(struct trace_context *tr_ctx, if (!transfer) goto error; - assert(transfer->resource == res); - tr_trans = CALLOC_STRUCT(trace_transfer); if (!tr_trans) goto error;