public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] irqdesc: Delete irq_desc_get_msi_desc()
@ 2018-06-22 11:35 John Garry
  2018-06-22 12:28 ` [tip:irq/urgent] " tip-bot for John Garry
  0 siblings, 1 reply; 2+ messages in thread
From: John Garry @ 2018-06-22 11:35 UTC (permalink / raw)
  To: tglx, marc.zyngier, will.deacon, kstewart, julien.thierry, andrew
  Cc: linux-kernel, trivial, John Garry

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>

diff --git a/include/linux/irqdesc.h b/include/linux/irqdesc.h
index 25b33b6..dd1e40d 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)
 	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.
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [tip:irq/urgent] irqdesc: Delete irq_desc_get_msi_desc()
  2018-06-22 11:35 [PATCH] irqdesc: Delete irq_desc_get_msi_desc() John Garry
@ 2018-06-22 12:28 ` tip-bot for John Garry
  0 siblings, 0 replies; 2+ messages in thread
From: tip-bot for John Garry @ 2018-06-22 12:28 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: tglx, julien.thierry, marc.zyngier, john.garry, mingo, hpa,
	andrew, trivial, linux-kernel, kstewart, will.deacon

Commit-ID:  bed9df97b39e73a4607189f2c4b9fb89cc3f7f59
Gitweb:     https://git.kernel.org/tip/bed9df97b39e73a4607189f2c4b9fb89cc3f7f59
Author:     John Garry <john.garry@huawei.com>
AuthorDate: Fri, 22 Jun 2018 19:35:33 +0800
Committer:  Thomas Gleixner <tglx@linutronix.de>
CommitDate: Fri, 22 Jun 2018 14:22:02 +0200

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


---
 include/linux/irqdesc.h | 5 -----
 1 file changed, 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)
 	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.

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-06-22 12:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-22 11:35 [PATCH] irqdesc: Delete irq_desc_get_msi_desc() John Garry
2018-06-22 12:28 ` [tip:irq/urgent] " tip-bot for John Garry

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox