Skip to content

Commit

Permalink
irqdesc: Delete irq_desc_get_msi_desc()
Browse files Browse the repository at this point in the history
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 <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
  • Loading branch information
John Garry authored and Thomas Gleixner committed Jun 22, 2018
1 parent 82f499c commit bed9df9
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions include/linux/irqdesc.h
Original file line number Diff line number Diff line change
Expand Up @@ -145,11 +145,6 @@ static inline void *irq_desc_get_handler_data(struct irq_desc *desc)
return desc->irq_common_data.handler_data;
}

static inline struct msi_desc *irq_desc_get_msi_desc(struct irq_desc *desc)
{
return desc->irq_common_data.msi_desc;
}

/*
* Architectures call this to let the generic IRQ layer
* handle an interrupt.
Expand Down

0 comments on commit bed9df9

Please sign in to comment.