diff options
author | Milton Miller <miltonm@bga.com> | 2011-05-10 15:30:00 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2011-05-19 01:31:39 -0400 |
commit | df74e70ac25fc4bf4036a2f9690b4e2e4520e65d (patch) | |
tree | b0ee6dc5ce671c28f6ae2d8615d0f5294d466c1e /arch/powerpc/platforms/82xx | |
parent | 2d441681a4df7822e6ef6fcc0320bb14d2a06dbb (diff) |
powerpc: Remove trival irq_host_ops.unmap
These all just clear chip or chipdata fields, which will be done
by the generic code when we call irq_free_descs.
Signed-off-by: Milton Miller <miltonm@bga.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/platforms/82xx')
-rw-r--r-- | arch/powerpc/platforms/82xx/pq2ads-pci-pic.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/powerpc/platforms/82xx/pq2ads-pci-pic.c b/arch/powerpc/platforms/82xx/pq2ads-pci-pic.c index 5d6c34ce0cba..8ccf9ed62fe2 100644 --- a/arch/powerpc/platforms/82xx/pq2ads-pci-pic.c +++ b/arch/powerpc/platforms/82xx/pq2ads-pci-pic.c | |||
@@ -112,16 +112,8 @@ static int pci_pic_host_map(struct irq_host *h, unsigned int virq, | |||
112 | return 0; | 112 | return 0; |
113 | } | 113 | } |
114 | 114 | ||
115 | static void pci_host_unmap(struct irq_host *h, unsigned int virq) | ||
116 | { | ||
117 | /* remove chip and handler */ | ||
118 | irq_set_chip_data(virq, NULL); | ||
119 | irq_set_chip(virq, NULL); | ||
120 | } | ||
121 | |||
122 | static struct irq_host_ops pci_pic_host_ops = { | 115 | static struct irq_host_ops pci_pic_host_ops = { |
123 | .map = pci_pic_host_map, | 116 | .map = pci_pic_host_map, |
124 | .unmap = pci_host_unmap, | ||
125 | }; | 117 | }; |
126 | 118 | ||
127 | int __init pq2ads_pci_init_irq(void) | 119 | int __init pq2ads_pci_init_irq(void) |