From: Kristian H. Kristensen Date: Fri, 1 Mar 2019 22:33:36 +0000 (-0800) Subject: freedreno/a6xx: Remove extra parens X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5f0a922c277639abfd03c27c160b327a7889162b;p=mesa.git freedreno/a6xx: Remove extra parens There's a warning about this now. Signed-off-by: Kristian H. Kristensen --- 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 };