Skip to content

Commit bed9df9

Browse files
John GarryKAGA-KOKO
authored andcommitted
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 e39758e, 3 years ago), so delete it. Signed-off-by: John Garry <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Cc: <[email protected]> Cc: <[email protected]> Cc: <[email protected]> Cc: <[email protected]> Cc: <[email protected]> Cc: <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
1 parent 82f499c commit bed9df9

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

include/linux/irqdesc.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -145,11 +145,6 @@ static inline void *irq_desc_get_handler_data(struct irq_desc *desc)
145145
return desc->irq_common_data.handler_data;
146146
}
147147

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-
153148
/*
154149
* Architectures call this to let the generic IRQ layer
155150
* handle an interrupt.

0 commit comments

Comments
 (0)