[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-bed9df97b39e73a4607189f2c4b9fb89cc3f7f59@git.kernel.org>
Date: Fri, 22 Jun 2018 05:28:35 -0700
From: tip-bot for John Garry <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: tglx@...utronix.de, julien.thierry@....com, marc.zyngier@....com,
john.garry@...wei.com, mingo@...nel.org, hpa@...or.com,
andrew@...n.ch, trivial@...nel.org, linux-kernel@...r.kernel.org,
kstewart@...uxfoundation.org, will.deacon@....com
Subject: [tip:irq/urgent] irqdesc: Delete irq_desc_get_msi_desc()
Commit-ID: bed9df97b39e73a4607189f2c4b9fb89cc3f7f59
Gitweb: https://git.kernel.org/tip/bed9df97b39e73a4607189f2c4b9fb89cc3f7f59
Author: John Garry <john.garry@...wei.com>
AuthorDate: Fri, 22 Jun 2018 19:35:33 +0800
Committer: Thomas Gleixner <tglx@...utronix.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@...wei.com>
Signed-off-by: Thomas Gleixner <tglx@...utronix.de>
Cc: <marc.zyngier@....com>
Cc: <will.deacon@....com>
Cc: <kstewart@...uxfoundation.org>
Cc: <julien.thierry@....com>
Cc: <andrew@...n.ch>
Cc: <trivial@...nel.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.
Powered by blists - more mailing lists