Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a3193348 authored by David Rientjes's avatar David Rientjes Committed by Andi Kleen
Browse files

[PATCH] i386: type may be unused



In the case of !CONFIG_PCI_DIRECT && !CONFIG_PCI_MMCONFIG, type is
unreferened.

Cc: Andi Kleen <ak@suse.de>
Signed-off-by: default avatarDavid Rientjes <rientjes@google.com>
Signed-off-by: default avatarAndi Kleen <ak@suse.de>
parent b5229dbb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@
   in the right sequence from here. */
static __init int pci_access_init(void)
{
	int type = 0;
	int type __attribute__((unused)) = 0;

#ifdef CONFIG_PCI_DIRECT
	type = pci_direct_probe();