From: Andreas Baierl Date: Fri, 3 Jan 2020 21:26:35 +0000 (+0100) Subject: lima/parser: Fix rsw parser X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=af7dc4675dbd89689491a10fad4868377861932f;p=mesa.git lima/parser: Fix rsw parser Drop assert as it is not necessary and used wrong anyway. Reviewed-by: Qiang Yu Signed-off-by: Andreas Baierl --- diff --git a/src/gallium/drivers/lima/lima_parser.c b/src/gallium/drivers/lima/lima_parser.c index 2becad8c121..8850a284a0d 100644 --- a/src/gallium/drivers/lima/lima_parser.c +++ b/src/gallium/drivers/lima/lima_parser.c @@ -24,7 +24,6 @@ #include "util/u_math.h" -#include #include #include #include @@ -522,7 +521,6 @@ parse_rsw(FILE *fp, uint32_t *value, int i, uint32_t *helper) *value & 0xffffffe0, *value & 0x0000001f); break; case 10: /* VARYING TYPES */ - assert(*helper); fprintf(fp, "(1): "); int val, j; /* 0 - 5 */