mirror of https://gitee.com/openkylin/linux.git
i386 pci: use __maybe_unused
Use the new macro here Cc: Andi Kleen <ak@suse.de> Signed-off-by: David Rientjes <rientjes@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
0d7ebbbc6e
commit
f6744c02bc
|
@ -6,7 +6,7 @@
|
|||
in the right sequence from here. */
|
||||
static __init int pci_access_init(void)
|
||||
{
|
||||
int type __attribute__((unused)) = 0;
|
||||
int type __maybe_unused = 0;
|
||||
|
||||
#ifdef CONFIG_PCI_DIRECT
|
||||
type = pci_direct_probe();
|
||||
|
|
Loading…
Reference in New Issue