freedreno/a6xx: Remove extra parens

There's a warning about this now.

Signed-off-by: Kristian H. Kristensen <hoegsberg@chromium.org>
This commit is contained in:
Kristian H. Kristensen 2019-03-01 14:33:36 -08:00
parent 08c452bef7
commit 5f0a922c27
1 changed files with 1 additions and 1 deletions

View File

@ -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
};