[tip:,irq/core] genirq: Remove unneeded forward declaration

Message ID 170612131900.398.5223210179509173916.tip-bot2@tip-bot2
State New
Headers
Series [tip:,irq/core] genirq: Remove unneeded forward declaration |

Commit Message

tip-bot2 for Thomas Gleixner Jan. 24, 2024, 6:35 p.m. UTC
  The following commit has been merged into the irq/core branch of tip:

Commit-ID:     9676635685fe348003a29948d9726e5d9e4b4a6e
Gitweb:        https://git.kernel.org/tip/9676635685fe348003a29948d9726e5d9e4b4a6e
Author:        Dawei Li <dawei.li@shingroup.cn>
AuthorDate:    Mon, 22 Jan 2024 16:57:14 +08:00
Committer:     Thomas Gleixner <tglx@linutronix.de>
CommitterDate: Wed, 24 Jan 2024 16:02:48 +01:00

genirq: Remove unneeded forward declaration

The protoype of irq_flow_handler_t is independent of irq_data, so remove
unneeded forward declaration.

Signed-off-by: Dawei Li <dawei.li@shingroup.cn>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20240122085716.2999875-4-dawei.li@shingroup.cn

---
 include/linux/irqhandler.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

diff --git a/include/linux/irqhandler.h b/include/linux/irqhandler.h
index c30f454..72dd1eb 100644
--- a/include/linux/irqhandler.h
+++ b/include/linux/irqhandler.h
@@ -8,7 +8,7 @@ 
  */
 
 struct irq_desc;
-struct irq_data;
+
 typedef	void (*irq_flow_handler_t)(struct irq_desc *desc);
 
 #endif