linux-stable/arch/powerpc/platforms/powermac
Mathieu Malaterre 566be4969b powerpc/powermac: Mark variable x as unused
[ Upstream commit 5a4b475cf8 ]

Since the value of x is never intended to be read, declare it with gcc
attribute as unused. Fix warning treated as error with W=1:

  arch/powerpc/platforms/powermac/bootx_init.c:471:21: error: variable ‘x’ set but not used [-Werror=unused-but-set-variable]

Suggested-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Mathieu Malaterre <malat@debian.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-08-03 07:50:30 +02:00
..
backlight.c
bootx_init.c powerpc/powermac: Mark variable x as unused 2018-08-03 07:50:30 +02:00
cache.S powerpc: Fix misspellings in comments. 2016-03-01 19:27:20 +11:00
feature.c powerpc: Convert to using %pOF instead of full_name 2017-08-23 22:27:04 +10:00
Kconfig License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
low_i2c.c powerpc: Convert to using %pOF instead of full_name 2017-08-23 22:27:04 +10:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
nvram.c powerpc: Remove more traces of bootmem 2014-11-19 21:41:51 +11:00
pci.c powerpc: Convert to using %pOF instead of full_name 2017-08-23 22:27:04 +10:00
pfunc_base.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pfunc_core.c powerpc: Convert to using %pOF instead of full_name 2017-08-23 22:27:04 +10:00
pic.c powerpc: Convert to using %pOF instead of full_name 2017-08-23 22:27:04 +10:00
pmac.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
setup.c powerpc/powermac: Add missing prototype for note_bootable_part() 2018-08-03 07:50:30 +02:00
sleep.S
smp.c powerpc: Add struct smp_ops_t.cause_nmi_ipi operation 2017-04-28 21:02:25 +10:00
time.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
udbg_adb.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
udbg_scc.c