Skip to content

Commit

Permalink
irqdomain: Kill irq_domain_add_legacy_isa
Browse files Browse the repository at this point in the history
This helper doesn't have a user anymore, let's remove it.

Signed-off-by: Marc Zyngier <maz@kernel.org>
  • Loading branch information
Marc Zyngier committed Jun 10, 2021
1 parent 582f5aa commit 405e94e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
1 change: 0 additions & 1 deletion Documentation/core-api/irq/irq-domain.rst
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,6 @@ Legacy

irq_domain_add_simple()
irq_domain_add_legacy()
irq_domain_add_legacy_isa()
irq_domain_create_simple()
irq_domain_create_legacy()

Expand Down
11 changes: 0 additions & 11 deletions include/linux/irqdomain.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,6 @@ struct cpumask;
struct seq_file;
struct irq_affinity_desc;

/* Number of irqs reserved for a legacy isa controller */
#define NUM_ISA_INTERRUPTS 16

#define IRQ_DOMAIN_IRQ_SPEC_PARAMS 16

/**
Expand Down Expand Up @@ -355,14 +352,6 @@ static inline struct irq_domain *irq_domain_add_nomap(struct device_node *of_nod
{
return __irq_domain_add(of_node_to_fwnode(of_node), 0, max_irq, max_irq, ops, host_data);
}
static inline struct irq_domain *irq_domain_add_legacy_isa(
struct device_node *of_node,
const struct irq_domain_ops *ops,
void *host_data)
{
return irq_domain_add_legacy(of_node, NUM_ISA_INTERRUPTS, 0, 0, ops,
host_data);
}
static inline struct irq_domain *irq_domain_add_tree(struct device_node *of_node,
const struct irq_domain_ops *ops,
void *host_data)
Expand Down

0 comments on commit 405e94e

Please sign in to comment.