OSDN Git Service

powerpc/pseries/ras: Remove unused variable 'status'
authorCédric Le Goater <clg@kaod.org>
Mon, 4 Jan 2021 14:31:45 +0000 (15:31 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 30 Jan 2021 00:39:26 +0000 (11:39 +1100)
commitaa23ea0c5f7f9a46e6aa3be0a4cfdfb80fabca6d
tree3f69c027c44e1314beb2484d09a7161dbd3c60f7
parentd25da505c3f567a8667adb0118de1400468172ac
powerpc/pseries/ras: Remove unused variable 'status'

The last use of 'status' was removed in 2012. Remove the variable to
fix this W=1 compile error.

../arch/powerpc/platforms/pseries/ras.c: In function ‘ras_epow_interrupt’:
../arch/powerpc/platforms/pseries/ras.c:318:6: error: variable ‘status’ set but not used [-Werror=unused-but-set-variable]
  318 |  int status;
      |      ^~~~~~

Fixes: 55fc0c561742 ("powerpc/pseries: Parse and handle EPOW interrupts")
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/20210104143206.695198-3-clg@kaod.org
arch/powerpc/platforms/pseries/ras.c