diff options
author | John Garry <john.garry@huawei.com> | 2018-06-22 07:35:33 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2018-06-22 08:22:02 -0400 |
commit | bed9df97b39e73a4607189f2c4b9fb89cc3f7f59 (patch) | |
tree | c5524ebbc1bbb79ad61eace2fb518727be831c07 | |
parent | 82f499c8811149069ec958b72a86643a7a289b25 (diff) |
irqdesc: Delete irq_desc_get_msi_desc()
Function irq_desc_get_msi_desc() is not referenced in the kernel (and does
not seem to have been referenced since e39758e0ea76, 3 years ago), so
delete it.
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: <marc.zyngier@arm.com>
Cc: <will.deacon@arm.com>
Cc: <kstewart@linuxfoundation.org>
Cc: <julien.thierry@arm.com>
Cc: <andrew@lunn.ch>
Cc: <trivial@kernel.org>
Link: https://lkml.kernel.org/r/1529667333-92959-1-git-send-email-john.garry@huawei.com
-rw-r--r-- | include/linux/irqdesc.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/irqdesc.h b/include/linux/irqdesc.h index 25b33b664537..dd1e40ddac7d 100644 --- a/include/linux/irqdesc.h +++ b/include/linux/irqdesc.h | |||
@@ -145,11 +145,6 @@ static inline void *irq_desc_get_handler_data(struct irq_desc *desc) | |||
145 | return desc->irq_common_data.handler_data; | 145 | return desc->irq_common_data.handler_data; |
146 | } | 146 | } |
147 | 147 | ||
148 | static inline struct msi_desc *irq_desc_get_msi_desc(struct irq_desc *desc) | ||
149 | { | ||
150 | return desc->irq_common_data.msi_desc; | ||
151 | } | ||
152 | |||
153 | /* | 148 | /* |
154 | * Architectures call this to let the generic IRQ layer | 149 | * Architectures call this to let the generic IRQ layer |
155 | * handle an interrupt. | 150 | * handle an interrupt. |