powerpc/spufs: remove unneeded if-checks
authorTom Rix <trix@redhat.com>
Fri, 28 Apr 2023 22:12:40 +0000 (18:12 -0400)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 15 May 2023 13:25:56 +0000 (23:25 +1000)
commitda5311a4b852eaf2c0feac8b28884a8d8a801dfc
tree372dcb6daf33fb6ed1e5673ef487bcf9ed8e9922
parent9d87ab41743fa3658d568859d64936b37f058b60
powerpc/spufs: remove unneeded if-checks

For ppc64, gcc with W=1 reports
arch/powerpc/platforms/cell/spu_base.c:330:17: error:
  suggest braces around empty body in an 'if' statement [-Werror=empty-body]
  330 |                 ;
      |                 ^
arch/powerpc/platforms/cell/spu_base.c:333:17: error:
  suggest braces around empty body in an 'if' statement [-Werror=empty-body]
  333 |                 ;
      |                 ^

These if-checks do not do anything so remove them.

Signed-off-by: Tom Rix <trix@redhat.com>
Fixes: 67207b9664a8 ("[PATCH] spufs: The SPU file system, base")
Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20230428221240.2679194-1-trix@redhat.com
arch/powerpc/platforms/cell/spu_base.c