powerpc/sstep: Remove empty if statement checking for invalid form
authorCédric Le Goater <clg@kaod.org>
Mon, 14 Sep 2020 21:10:03 +0000 (23:10 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 18 Sep 2020 10:05:24 +0000 (20:05 +1000)
commit5ab187e01a5310e1f9cd2f6b192b2343b8bd14cb
tree6314b4a6afe0478f082717069c3c8fbd609624a6
parent7b2aab5f22f0f7cc9e2f8672c9e65e2e88d30102
powerpc/sstep: Remove empty if statement checking for invalid form

The check should be performed by the caller. This fixes a compile
error with W=1.

../arch/powerpc/lib/sstep.c: In function ‘mlsd_8lsd_ea’:
../arch/powerpc/lib/sstep.c:225:3: error: suggest braces around empty body in an ‘if’ statement [-Werror=empty-body]
   ; /* Invalid form. Should already be checked for by caller! */
   ^

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200914211007.2285999-4-clg@kaod.org
arch/powerpc/lib/sstep.c