summaryrefslogtreecommitdiff
path: root/drivers/pci/msi.h
diff options
context:
space:
mode:
authorGrant Grundler <iod00d@hp.com>2006-01-04 05:51:46 +0300
committerGreg Kroah-Hartman <gregkh@suse.de>2006-02-01 05:00:11 +0300
commit8169b5d2384a0acd9ea3bb86bf5988cd7d62d03a (patch)
tree89a2d459bb2f0d9cc854c0708db1b11d81d313d2 /drivers/pci/msi.h
parentf8d65713332cf6306889a3036142a17e01e3447e (diff)
downloadlinux-8169b5d2384a0acd9ea3bb86bf5988cd7d62d03a.tar.xz
[PATCH] PCI: make it easier to see that set_msi_affinity() is used
I missed this usage in drivers/pci/msi.h: #ifdef CONFIG_SMP #define set_msi_irq_affinity set_msi_affinity #else #define set_msi_irq_affinity NULL #endif set_msi_affinity() is declared and exclusively used in msi.c. Here's a better way so (hopefully) history doesn't repeat itself. Signed-off-by: Grant Grundler <iod00d@hp.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pci/msi.h')
-rw-r--r--drivers/pci/msi.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/pci/msi.h b/drivers/pci/msi.h
index 402136a5c9e4..4ac52d441e47 100644
--- a/drivers/pci/msi.h
+++ b/drivers/pci/msi.h
@@ -22,12 +22,6 @@ extern int vector_irq[NR_VECTORS];
extern void (*interrupt[NR_IRQS])(void);
extern int pci_vector_resources(int last, int nr_released);
-#ifdef CONFIG_SMP
-#define set_msi_irq_affinity set_msi_affinity
-#else
-#define set_msi_irq_affinity NULL
-#endif
-
/*
* MSI-X Address Register
*/