From 5f0a922c277639abfd03c27c160b327a7889162b Mon Sep 17 00:00:00 2001 From: "Kristian H. Kristensen" Date: Fri, 1 Mar 2019 14:33:36 -0800 Subject: [PATCH] freedreno/a6xx: Remove extra parens There's a warning about this now. Signed-off-by: Kristian H. Kristensen --- src/gallium/drivers/freedreno/a6xx/fd6_format.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/freedreno/a6xx/fd6_format.c b/src/gallium/drivers/freedreno/a6xx/fd6_format.c index 5ba641d50a5..9448ff18e54 100644 --- a/src/gallium/drivers/freedreno/a6xx/fd6_format.c +++ b/src/gallium/drivers/freedreno/a6xx/fd6_format.c @@ -448,7 +448,7 @@ fd6_tex_swiz(enum pipe_format format, unsigned char *swiz, /* Gallium expects stencil sampler to return (s,s,s,s), so massage * the swizzle to do so. */ - if ((format == PIPE_FORMAT_X24S8_UINT)) { + if (format == PIPE_FORMAT_X24S8_UINT) { const unsigned char stencil_swiz[4] = { PIPE_SWIZZLE_X, PIPE_SWIZZLE_X, PIPE_SWIZZLE_X, PIPE_SWIZZLE_X }; -- 2.30.2