Skip to content

Commit

Permalink
[PATCH] i386: type may be unused
Browse files Browse the repository at this point in the history
In the case of !CONFIG_PCI_DIRECT && !CONFIG_PCI_MMCONFIG, type is
unreferened.

Cc: Andi Kleen <ak@suse.de>
Signed-off-by: David Rientjes <rientjes@google.com>
Signed-off-by: Andi Kleen <ak@suse.de>
  • Loading branch information
David Rientjes authored and Andi Kleen committed May 2, 2007
1 parent b5229db commit a319334
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/i386/pci/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit a319334

Please sign in to comment.