powerpc/mce: Remove unused but set variable
authorTobias Klauser <tklauser@distanz.ch>
Thu, 17 Nov 2016 16:19:21 +0000 (17:19 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 18 Nov 2016 11:40:38 +0000 (22:40 +1100)
commitd6d56ec738dcac4ac7716ccb7a08a4637de47955
tree4e071eeab665acf1c6bcd6d7130e66174c76f8bf
parent60d862e531f310a32e272528ad4e041970543d02
powerpc/mce: Remove unused but set variable

Remove the unused but set variable srr1 in save_mce_event() to
fix the following GCC warning when building with 'W=1':

  arch/powerpc/kernel/mce.c:75:11: warning: variable 'srr1' set but not used

It has never been used.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/mce.c