powerpc/mce: Remove unused but set variable

Michael Ellerman patch-notifications at ellerman.id.au
Tue Nov 22 11:34:21 AEDT 2016


On Thu, 2016-11-17 at 16:19:21 UTC, Tobias Klauser wrote:
> 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 [-Wunused-but-set-variable]
> 
> Signed-off-by: Tobias Klauser <tklauser at distanz.ch>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/d6d56ec738dcac4ac7716ccb7a08a4

cheers


More information about the Linuxppc-dev mailing list