diff options
author | 2018-03-28 21:39:35 +0200 | |
---|---|---|
committer | 2018-08-10 22:12:37 +1000 | |
commit | 618a89d738fdd97f6fc58b7b666c7a84b2bb95e3 (patch) | |
tree | 8ca324cd466ff1a0694133a1fa83a5743cfa8f3a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | powerpc/powermac: Remove variable x that's never read (diff) | |
download | linux-dev-618a89d738fdd97f6fc58b7b666c7a84b2bb95e3.tar.xz linux-dev-618a89d738fdd97f6fc58b7b666c7a84b2bb95e3.zip |
powerpc/powermac: Make some functions static
These functions can all be static, make it so. Fix warnings treated as
errors with W=1:
arch/powerpc/platforms/powermac/pci.c:1022:6: error: no previous prototype for ‘pmac_pci_fixup_ohci’
arch/powerpc/platforms/powermac/pci.c:1057:6: error: no previous prototype for ‘pmac_pci_fixup_cardbus’
arch/powerpc/platforms/powermac/pci.c:1094:6: error: no previous prototype for ‘pmac_pci_fixup_pciata’
Remove has_address declaration and assignment since it's not used.
Also add gcc attribute unused to fix a warning treated as error with
W=1:
arch/powerpc/platforms/powermac/pci.c:784:19: error: variable ‘has_address’ set but not used
arch/powerpc/platforms/powermac/pci.c:907:22: error: variable ‘ht’ set but not used
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions